• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to divide a frame???

 
Punit Jain
Ranch Hand
Posts: 1014
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a JFrame of 800,600.
i want to divide that into two parts,
i mean one part of the frame should have another thing and one should have another,
the first part should have somthing like simulator, and the second should have some components (ie. buttons and progress bars),
and when i press button or move progress bar, the changes should made into my first frame(simulator).
how to i divide my frame in two parts???
or can i do something else to do this???
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are looking for JSplitPane (tutorial)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic