sp.getViewport().removeChangeListener(viewportChangeListener); sp.removeMouseWheelListener(mouseWheelListener);
JViewport v = sp.getViewport(); v.removeChangeListener(viewportChangeListener); v.removeContainerListener(containerListener);  for (int i = 0; i < v.getComponentCount(); i++) v.getComponent(i).removeMouseWheelListener(mouseWheelListener);
  protected void uninstallListeners(JComponent c)  {    JScrollPane sp = (JScrollPane) c;    sp.removePropertyChangeListener(spPropertyChangeListener);    sp.getHorizontalScrollBar().getModel()                               .removeChangeListener(hsbChangeListener);    sp.getVerticalScrollBar().getModel()                             .removeChangeListener(vsbChangeListener);    sp.getViewport().removeChangeListener(viewportChangeListener);    sp.removeMouseWheelListener(mouseWheelListener);  }