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 / deepak pawar

you can use the following statment
to yhe next button action listner
this.setVisible(false);

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sling swing?

534


How to print in java swing application?

505


What is jfc swing in java?

522


What's java swing?

565


What is the use of jfc in java swing?

653






What is an event handler in swing?

630


How to render an html page using only swing.

591


What is the difference between swing and awt?

536


Which layout does swing use by default?

493


How to link two forms in java swing?

618


What is swing control?

511


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

556


What is difference between awt and swing?

567


Is java swing still used?

533


am searching for the job based on java, swing, currently working small company. they are not giving any salary slip, offer letter. so if i try outside for MNC's they start with previous company details. what should i do..? please help me to get job and make my career.

2215