wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JSplitPane & window resizing 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 "JSplitPane & window resizing" Watch "JSplitPane & window resizing" New topic
Author

JSplitPane & window resizing

Padmaja Prasad
Ranch Hand

Joined: Nov 14, 2001
Posts: 76
Hi,
I have two panels say leftPanel and rightPanel. A JSplitPane splits them by using JSplitPane.HORIZONTAL_SPLIT. I added ScollPanes to both the left panel & right panel. When I minimize the window before resizing the split pane, the left panel shrinks to a tiny vertical bar. But any window resizing after a splitpane resize doesnot make any othe panes shrink.
What might be the possible reason for this behaviour and how to recover this??
Thanks,
Padmaja.
Padmaja Prasad
Ranch Hand

Joined: Nov 14, 2001
Posts: 76
Friends,
I got it.. I set the minimum sizes of components on both sides after adding the components to the split pane.
Padmaja
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSplitPane & window resizing
 
Similar Threads
Problem with JSplitPane and JFrame
Resizing in JSplitPane
Question for the experts
JSplitPane in 1.4.0 , Help please
JSplitPane (expandable closed)