When i m clicking on next another frame is open but i want
to hide the previous frame...........but it is not
happening....still both frame are visible........how to
make one frame to hide.......please help me.......
Answer Posted / guest
use the setVisible method to hide the frame.
i.e) this.setVisible(false);
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the difference between swing and awt in java?
How does accessibility works in swings?
How to reload a jframe in java swing?
What's java swing?
What is import javax swing in java?
What are the various components of swing?
What are the advantage of swing over awt?
Which method of the Component class is used to set the position and size of a component?
What is swing components in java?
Which window contains the swing controls?
Why does JComponent have add() and remove() methods but Component does not?
What are the different components that are used to show a container?
Why are swing components called lightweight?
What is the difference between applications and applets?
Why do we use swing in java?