public void mouseExited(MouseEvent e) { super.mouseExited(e); if (slider.isEnabled()) { isRollover = false; slider.repaint(); } }
public void mouseExited(MouseEvent e) { super.mouseExited(e); isRollover = false; Rectangle r = getTrackBounds(); scrollbar.repaint(r.x, r.y, r.width, r.height); }