|
I modified the first (X) program so a Container is declared right above where the label is added. Then I modified the line where the label is added so it appears as below.
Container contentPane = xFrame.getContentPane();
contentPane.add(new JLabel("Java is stupid"));
And it still won't work. Grrr. Thanks for your help, I'm going to bed right now, I'll check this tommorow.
|