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

Explain how to render an html page using only swing.

1450


What is the mean of swing?

891


What is difference between jframe and swing?

967


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

934


What are swings?

996


Why does JComponent have add() and remove() methods but Component does not?

1014


Why should any swing call back implementation execute quickly?

1214


How to perform action on button in java swing?

961


Why do we use swing in java?

984


What is the purpose of action interface in swing?

1053


What is swing control in java?

1058


What is the difference between applications and applets?

1113


What is swing used for?

944


What is an event and what are the models available for event handling?

998


what are the steps required in creating an empty table drop?

1049