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
Explain how to render an html page using only swing.
What is the mean of swing?
What is difference between jframe and swing?
What is the design pattern that java uses for all swing components ?
What are swings?
Why does JComponent have add() and remove() methods but Component does not?
Why should any swing call back implementation execute quickly?
How to perform action on button in java swing?
Why do we use swing in java?
What is the purpose of action interface in swing?
What is swing control in java?
What is the difference between applications and applets?
What is swing used for?
What is an event and what are the models available for event handling?
what are the steps required in creating an empty table drop?