I notice that when you have a JSplitPane, it restricts its divider adjustment to obey the minimum sizes of the components in the panels of its left and right sides.
However if I dynamically change whats in these panels the divider remains where it was, and if the panel is now too cluttered the min sizes are no longer being obeyed .... However! if you now click on the divider it automatically jumps to a position to "re-obey" the minimum sizes.
My question - can i get this to happen automatically when i add components to one of the panels or on a window is resize event??