This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes how to divide a frame??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to divide a frame???" Watch "how to divide a frame???" New topic

how to divide a frame???

Punit Jain
Ranch Hand

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

Joined: Sep 08, 2007
Posts: 3054

I think you are looking for JSplitPane (tutorial)

Mohamed Sanaulla | My Blog
I agree. Here's the link:
subject: how to divide a frame???
Similar Threads
updating regularly from server
Multiple frames in destination JSP
how to use a frame in place of console to compile and run any java program????
Real time progress bar
two applications in one server