This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug SWING/20804] New: JFrames not using insets to calculate size.
- From: "kho at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Apr 2005 02:02:00 -0000
- Subject: [Bug SWING/20804] New: JFrames not using insets to calculate size.
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Test case below. The JFrame is too small by the size of the insets.
import java.awt.*;
import javax.swing.*;
public class testlabel {
public static void main( String args[] ) {
JFrame frame = new JFrame( "just a frame" );
JLabel l = new JLabel("asdf");
frame.getContentPane().add(l);
frame.pack();
frame.show();
}
}
--
Summary: JFrames not using insets to calculate size.
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: SWING
AssignedTo: kho at redhat dot com
ReportedBy: kho at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20804