I agree. I've done the simplest thing, which is sometimes what
you want. However it can also be rather confusing; there's
no prima facie way to determine that one or more panels will
appear if you start dragging on a split bar. A right button
menu in the divider space might help, but most users would
never find it. A minimum size for panes (not the same is
Component.getMinimumSize()) would ensure that no pane ever
disappeared. However if the user is really trying to optimize
the available space, that's not perfect either. I'd
definitely be interested to hear suggestion about how best
to handle this. It might just be some options to enable
the developer to choose. |