void (AdjustmentEvent e) { JScrollBar scrollBar = pane.getVerticalScrollBar(); if (layoutData.showMinSize && scrollBar.getValue() > 0) { scrollBar.removeAdjustmentListener(this); scrollBar.setValue(0); scrollBar.addAdjustmentListener(this); } }