[forwarded from http://bugs.debian.org/445930] this is regression against the classpath generices backport for 4.1/4.2 as used by some distributions, found in 4.3, fixed in the classpath-0.96.1 merge. import javax.swing.*; import java.awt.*; public class Exo1 extends JFrame{ public Exo1 (){ setLayout (new FlowLayout ()); JButton b1 = new JButton ("OK"); JButton b2 = new JButton ("Cancel"); getContentPane().add (b1); getContentPane().add (b2); JCheckBox c = new JCheckBox ("A cocher"); getContentPane().add (c); setDefaultCloseOperation (EXIT_ON_CLOSE); setSize (350, 350); setVisible (true); } public static void main (String args[]){ new Exo1 (); } }
Closing as won't fix as libgcj (and the java front-end) has been removed from the trunk.