Problem in displaying frame.
1 posts in topic
Flat View  Flat View

Posted By:   ravindra_bisht
Posted On:   Sunday, July 21, 2002 12:49 AM

Hi, I have GUI application , but when I open it through the command prompt, The components cannot be seen. Only if
I maximize the window(which is blank), it is seen.What is the option to rectify this problem, and why does it occurs.
It is to be noted that when I started writing the program, there was no succh type of problem.But once the programme started becoming lengthier and complicated, this problem occurred (and I didn't altered the display settings).Thanks in advance.

Re: Problem in displaying frame.

Posted By:   vinay_chandran  
Posted On:   Monday, July 22, 2002 07:26 AM

use JFrame.pack() after adding the component to the frame or initialising the frame and at the end call the JFrame.show() method
About | Sitemap | Contact