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
What are the advantage of swing over awt?
Can a class be it?s own event handler? Explain how to implement this?
What is jpanel swing?
Why would you use swingutilities.invokeandwait or swingutilities.invokelater?
What is a component in swing?
What is a swing day?
What is awt and swing in java?
What is the difference between swing and awt in java?
What is the difference between applications and applets?
Explain the difference between swing and jsf.
What is jfc? What are the features of jfc?
What is javax swing joptionpane?
What is jpanel in java swing with example?
What is the function of lightweight components used in swing?
What is sling swing?