• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFrames  RSS feed

 
ranjithkumar veldanda
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to hide an existing frame when a new frame is invoked
 
Campbell Ritchie
Marshal
Posts: 55772
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look through the JFrame class in the API. You might need the setVisible method.
 
Steven Wall
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the first frame isn't needed, then you should use dispose(), which will close it and release the memory it is using.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!