This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Swing Doubt !!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Swing Doubt !!!!!" Watch "Swing Doubt !!!!!" New topic
Author

Swing Doubt !!!!!

Siddharth Bhargava
Ranch Hand

Joined: Feb 23, 2007
Posts: 268
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
Marshal

Joined: Mar 22, 2005
Posts: 42367
    
  64
Sounds like a case for the JTabbedPane class, or, possibly, CardLayout.


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: Swing Doubt !!!!!