The moose likes Swing / AWT / SWT / JFace and the fly likes how to divide a frame??? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "how to divide a frame???" Watch "how to divide a frame???" New topic
Author

how to divide a frame???

Punit Jain
Ranch Hand

Joined: Aug 20, 2011
Posts: 702
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

Joined: Sep 08, 2007
Posts: 2694

I think you are looking for JSplitPane (tutorial)


Mohamed Sanaulla | My Blog
 
 
subject: how to divide a frame???
 
Threads others viewed
Multiple frames in destination JSP
updating regularly from server
Real time progress bar
two applications in one server
how to use a frame in place of console to compile and run any java program????
MyEclipse, The Clear Choice