void (boolean overlappingScrollBar) { boolean oldValue = myIsOverlappingScrollBar; myIsOverlappingScrollBar = overlappingScrollBar; if (oldValue != myIsOverlappingScrollBar) { revalidate(); repaint(); } }