• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Swing Doubt !!!!!

 
Siddharth Bhargava
Ranch Hand
Posts: 274
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to make an application in which there are seven - eight screens. I wanna have a frame with the first screen displayed. I have a button in the first screen and then i want that on the click of the button the second screen should be displayed in the same frame .........and son on for the rest of the screens....... Please tell me how to do that as i am confused .... Thanks in advance......
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a case for the JTabbedPane class, or, possibly, CardLayout.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic