}
return Math.max(value, 1);
}
protected final void setupOneTouchAnimation() {
BasicSplitPaneDivider divider = ((BasicSplitPaneUI) getUI()).getDivider();
for (Component c : divider.getComponents()) {
if (c instanceof JButton) {
configureOneTouchButton((JButton) c);
}
}
divider.addContainerListener(new ContainerAdapter() {
@Override
public void componentAdded(ContainerEvent e) {
Component c = e.getChild();
if (c instanceof JButton) {