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 / doris
Hi, u can use this code snippet...
new MAIN_STORING().setVisible(true);
this.setVisible(false);
n/b: assuming that the keyword 'this' is pointing to the
one u want to go off when u click for MAIN_STORING page.
Goodluck!
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to change button color in java swing?
What is jfc swing in java?
What are the two key features of swing?
What is an event handler in swing?
Which package is needed for swing components?
What is java swing gui?
What is awt and swing?
What is import javax swing jframe?
What is an event and what are the models available for event handling?
Is java swing a framework?
What is the function of abstractaction class?
What is the difference between swing and awt in java?
Which method of the Component class is used to set the position and size of a component?
What is swing framework in java?
What is the what is the difference between invokeandwait() and invokelater()? ?