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 the class in swing to change the appearance of the frame in runtime?

560


What are swings awt?

546


How to move from one page to another in java swing?

614


What is an event in Swing?

603


What is frame in java swing?

538






What is the design pattern that java uses for all swing components ?

507


Write a program to paint the off-screen buffer in swings

558


What is swing in java with example?

506


What do you mean by java swing?

512


What is content pane in swing?

521


Why swing is better than awt?

564


What is awt and swing?

543


How do you swing an applet?

614


What is the purpose of serialization in swings?

544


What is the process of setting the layout manager?

589