View Single Post
Old 04-07-2003, 07:57 PM   #11 (permalink)
SkittlesAreYum
Registered User
 
Join Date: Apr 2003
Posts: 8
SkittlesAreYum is on a distinguished road
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.
SkittlesAreYum is offline   Reply With Quote