Thanks for responding.
I've taken your advice and posted some code that shows the problem (I hope adequately).
Here are the steps to reproduce what I'm doing:
1) Run the code below and maximize the frame (either with the window icon or double-click the title bar).
2) Drag the left divider as far as you can to the right, making the left pane very large.
3) Restore the frame down to the original size.
4) Note that the resized left pane maintains some sense of porportion, but because the frame is smaller, it does shrink.
5) Now here's the fun part: maximize the frame again. Observe that the left divider
that you moved over to the right in step 2 does not go back to its enlarged state, but
stays where it was positioned when you restored the frame down in step 3.
You can also see the same behavior with Sun's demo here:
http://java.sun.com/docs/books/tutorial/uiswing/components/splitpane.html
Just launch the demo and follow my steps above.
And here's the source for that:
http://java.sun.com/docs/books/tutorial/uiswing/examples/components/SplitPaneDemoProject/src/components/SplitPaneDemo.java
The big question here is this:
Why does the container/frame remember the
original size/position, but not the
maxed size/position?
And how can I get it to remember this position? I've tried changing the resize weight, but that doesn't seem to
affect anything.
Thanks very much in advance for your time! I appreciate the help.