• Post Reply Bookmark Topic Watch Topic
  • New Topic

i have two jpannels, after an event occurs i want to hide one and show other, How to  RSS feed

 
maniyar Khalandar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi iam new to swing programming, i am developing an application.
after an user clicks on one button, i want to show another pannel with other buttons. can any one tell how to do that. or what to use. I am confused. I checked out ilayer panes etc. but made me more confusing....
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look into the CardLayout layout manager... it looks to be just the thing you need.

-Nate
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!