void () { float proportion = myPreviousProportion > 0 ? myPreviousProportion : getSplitterInitialProportion(); mySplitter.fixFirst(proportion); mySplitter.invalidate(); mySplitter.validate(); mySplitter.repaint(); }