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

What is swing framework in java?

1086


What is pane in swing?

995


What is the function of lightweight components used in swing?

1083


Which swing methods are thread-safe?

1178


What is actionlistener in java swing?

1092


Why do we use swing in java?

1030


How is parsing html used in swing?

1091


What are the advantages of java swing over angular?

997


What is import javax swing?

1025


What are swing controls?

1027


What is an on stage swing?

1094


What is jpanel swing?

1247


What are the containers available in swing?

1049


How do you swing an applet?

1144


Is swing an api?

1034