bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/24234] New: Cannot resize JFrame


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/24234] New: Cannot resize JFrame
Date: 6 Oct 2005 11:33:42 -0000

In current classpath cvs (2005.10.05), a JFrame (and JDialog etc) cannot
be resized after it has been packed(). That is, the window can be made
bigger, but not smaller than whatever the initial minimumSize() or
preferredSize() might have been.

Run the attached testcased (stripped-down from PR24152) as an example,
then try to make the window smaller via your window manager :-)
The same weird behaviour is also seen with JDialogs, JOptionPanes, etc.

As no explicit minimumSize() has been set for the frame nor for any of
its components, this is a bug. I am not sure, however, that JFrame or JWindow
are the culprits. Any (J)Component that returns an invalid minimum size
might be responsible for this.


-- 
           Summary: Cannot resize JFrame
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: swing
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24234





reply via email to

[Prev in Thread] Current Thread [Next in Thread]