May 30

People often have trouble when trying to set the initial position of the divider of a JSplitPane. This is caused by the fact that the method for setting the dividers location only works if the JSplitPane has been realized ie. it is currently visible.

There is a RFE to address the limitation, but until that’s resolved it you need to be aware of it.

written by objects \\ tags: , ,