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
Is java swing deprecated?
What is the purpose of serialization in swings?
What is java swing package?
What is swing used for?
What is the function of abstractaction class?
What is a swing day?
What is java swing application?
What is jpanel in java swing with example?
What is a component in swing?
What is event in java swing?
What are the various components of swing?
What is the use of jfc in java swing?
What are the different types of layout managers used in swing?
What is the class in swing to change the appearance of the frame in runtime?
What are swing components in java?