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 change button color in java swing?

907


What is jfc swing in java?

940


What are the two key features of swing?

941


What is an event handler in swing?

1095


Which package is needed for swing components?

856


What is java swing gui?

840


What is awt and swing?

922


What is import javax swing jframe?

968


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

924


Is java swing a framework?

972


What is the function of abstractaction class?

1004


What is the difference between swing and awt in java?

935


Which method of the Component class is used to set the position and size of a component?

934


What is swing framework in java?

978


What is the what is the difference between invokeandwait() and invokelater()? ?

1037