This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Resizing Panels inside a Jframe ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Resizing Panels inside a Jframe ?? " Watch "Resizing Panels inside a Jframe ?? " New topic
Author

Resizing Panels inside a Jframe ??

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi Guys :

Im having trouble figuring out how to resize INTERNAL panels in a jframe.

I know that in swt, this can be done using a "sash form". But is this
possible in Java Swing ?

Please let me know !!!

Thanks - j
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi Thanks, but Im talking more about resizeable "frames"
inside of a JFrame that the user can resize at will.

This is called a sash form in SWT, or a "Frame" in the web browser
world.

any ideas ?

If so, Im all out, so please help !
jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi never mind i figured it out...JSplitPanes...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Resizing Panels inside a Jframe ??
 
Similar Threads
Looking for layout advice
panels not displayed fullly in Jframe
Adding Panels in Frame or in a Panel
Unit testing applets
To Display background image in a Jframe/JPanel