void (JComponent c) { myAnimationBehavior.onUninstall(); myScrollTimer.stop(); myScrollBar.removeFocusListener(myListener); myScrollBar.removePropertyChangeListener(myListener); myScrollBar.getModel().removeChangeListener(myListener); myScrollBar.removeMouseMotionListener(myListener); myScrollBar.removeMouseListener(myListener); myScrollBar.setForeground(null); myScrollBar.setBackground(null); myScrollBar = null; }