Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to print in java swing application?

933


What is swing delegation event model in java?

1078


What is import javax swing in java?

950


What are the components of java swing?

1000


What is swing used for?

918


What are the containers available in swing?

986


Write a program to include the internal frame in swing.

988


What is java swing used for?

986


What is swing control?

934


What are the advantages of java swing over angular?

926


What is java swing application?

980


Explain how to render an html page using only swing.

1444


Is java swing deprecated?

1085


What is the class in swing to change the appearance of the frame in runtime?

1041


What is the role of java swing?

951