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 / guest

use the setVisible method to hide the frame.
i.e) this.setVisible(false);

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a swing day?

527


How does accessibility works in swings?

552


What's java swing?

565


What are the two key features of swing?

528


Which containers use a border Layout as their default layout in swing?

561






What is frame in java swing?

538


What is the process of setting the layout manager?

589


Is swing part of core java?

526


What are the features of swing in java?

511


What is jpanel in java swing with example?

503


What is difference between swing and awt?

483


Can a class be it?s own event handler? Explain how to implement this?

538


What is the use of swing in java?

515


Explain the difference between jfc & wfc.

562


Which swing methods are thread-safe?

640