| Author |
swing doubt
|
Rahul Bharadwaj
Greenhorn
Joined: Jun 07, 2006
Posts: 3
|
|
I have created a GUI for a tax invoice system in swing...the requirement states that this is not to be allowed to be resizeable. My problem is that when the GUI comes up i see a blank window, and only when i change the window size (by ignoring the requirement ) all the components show up.I call the repaint() method also...still doesn't work. Am i missing something??
|
 |
Mathias Nilsson
Ranch Hand
Joined: Aug 21, 2004
Posts: 367
|
|
Have you tried JFrame.pack()
|
SCJP1.4
|
 |
memati bas
Ranch Hand
Joined: Jan 29, 2006
Posts: 85
|
|
Write setVisible(true) after adding all the components(or containers) into your Top Level Container(JFrame). Regards
|
 |
 |
|
|
subject: swing doubt
|
|
|