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 / prerna keshari
You certainly don't want to destroy frame1, so do not use
despose(). just use setVisible() method and provide the
argument as false.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between jfc & wfc.
Why should the implementation of any swing callback (like a listener) execute quickly?
What is java panel swing?
What is import javax swing in java?
What is swing components in java?
What is an event in Swing?
What is the design pattern that java uses for all swing components ?
Is there any heavyweight component in swings?
What is swing control in java?
What are the components of swing in java?
Why does JComponent have add() and remove() methods but Component does not?
What is jfc? What are the features of jfc?
Why are swing components called lightweight?
What are the various components of swing?
How to perform action on button in java swing?