United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4219710 : JOptionPane resizability

Details
Type:
Bug
Submit Date:
1999-03-12
Status:
Resolved
Updated Date:
2000-03-22
Project Name:
JDK
Resolved Date:
2000-03-22
Component:
client-libs
OS:
windows_nt,generic
Sub-Component:
javax.swing
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.1.6,1.2.0
Fixed Versions:
1.4.0 (beta)

Related Reports
Duplicate:

Sub Tasks

Description

Name: vi73552			Date: 03/11/99

=20
A 'setResizable(boolean resizable)' method for JOptionPane would
be nice.=20

I've tried calling setMaximumSize and setMinimumSize=20
from the superclass Component with the same Dimension value,=20
but this doesn't seem to work.
(Review ID: 55070)=20
======================================================================

Name: dbT83986			Date: 05/19/99


Invoking 'setMinimumSize' on an instance of JOptionPane does
not prevent the user from resizing the pane to a smaller
dimension.
(Review ID: 83275)
======================================================================

Name: krT82822			Date: 11/21/99


java version "1.2"
Classic VM (build JDK-1.2-V, native threads)

We are using JOption Pane to display error messages
as well as confirmation boxes.
Usually message boxes are not resizable
Hence we feel that JOption Pane should not be resizable
(Review ID: 98102)
======================================================================

                                    

Comments
EVALUATION

User resizing is controlled by java.awt.Dialog's resizable property, which 
defaults to true.

It does seem like we ought to initialize it to false for option dialogs.

Note that if a program wishes to control the value of this property, they
can invoke JOptionPane's createDialog() method (which builds the necessary
dialog) and then invoke setResizable() as appropriate on that dialog before
showing it.

amy.fowler@Eng 2000-03-10
                                     
2000-03-10
WORK AROUND



Name: vi73552			Date: 03/11/99

=20
None
======================================================================
                                     
2004-06-11
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
merlin-beta

FIXED IN:
merlin-beta

INTEGRATED IN:
merlin-beta


                                     
2004-06-14



Hardware and Software, Engineered to Work Together