JSplitPane Auto Divider Location
I'm using a JSplitPane with a HORIZONTAL_SPLIT.
The component to the right of the divider has a dynamic size - I'm actually using a CardPanel. When a new JPanel
is added to the right side, and whose size is bigger than
the current JPanel on that side, I would like the divider
to move LEFT (just enough) so that the new JPanel would
be fully visible. Can someone give me a tip on how to
achieve this ?