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
What is swing framework in java?
What is pane in swing?
What is the function of lightweight components used in swing?
Which swing methods are thread-safe?
What is actionlistener in java swing?
Why do we use swing in java?
How is parsing html used in swing?
What are the advantages of java swing over angular?
What is import javax swing?
What are swing controls?
What is an on stage swing?
What is jpanel swing?
What are the containers available in swing?
How do you swing an applet?
Is swing an api?