Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to divide a frame???  RSS feed

 
Punit Jain
Ranch Hand
Posts: 1064
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
Bartender
Posts: 3174
34
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
Boost this thread!