This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

frame navigation

 
Basavaraj Patil
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am in frame1. on clicking a button i should move to frame2.

What should i do?

Can anyone help me out please :P
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basavaraj,
Welcome to the Ranch.

Please TellTheDetails .

In general, you should not have/need more than one JFrame instances for your application. Instead of using multiple frames, you should be changing the frame contents.
 
Rob Spoor
Sheriff
Pie
Posts: 20531
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a good case for CardLayout.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic