[Bug swing/22567] JCheckBox's check box is missing

timo dot lindfors at iki dot fi gcc-bugzilla@gcc.gnu.org
Mon Jul 25 14:02:00 GMT 2005


------- Additional Comments From timo dot lindfors at iki dot fi  2005-07-25 14:02 -------
Actual results have changed between builds 2005-07-22T100134+0000 and
2005-07-23T221620+0000. Now the output is:

java.lang.NullPointerException
   at gnu.java.awt.peer.gtk.GdkFontMetrics.<init> (GdkFontMetrics.java:69)
   at gnu.java.awt.peer.gtk.GtkToolkit.getFontMetrics (GtkToolkit.java:350)
   at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize
(BasicGraphicsUtils.java:612)
   at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize
(BasicButtonUI.java:212)
   at javax.swing.JComponent.getPreferredSize (JComponent.java:1029)
   at javax.swing.JRootPane$RootLayout.preferredLayoutSize (JRootPane.java:278)
   at java.awt.Container.preferredSize (Container.java:626)
   at java.awt.Container.getPreferredSize (Container.java:613)
   at javax.swing.JComponent.getPreferredSize (JComponent.java:1035)
   at java.awt.BorderLayout.calcCompSize (BorderLayout.java:655)
   at java.awt.BorderLayout.calcSize (BorderLayout.java:700)
   at java.awt.BorderLayout.preferredLayoutSize (BorderLayout.java:454)
   at java.awt.Container.preferredSize (Container.java:626)
   at java.awt.Container.getPreferredSize (Container.java:613)
   at javax.swing.JFrame.getPreferredSize (JFrame.java:136)
   at java.awt.Window.pack (Window.java:267)
   at testcase.<init> (testcase.java:12)
   at testcase.main (testcase.java:6)



-- 


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



More information about the Java-prs mailing list