@Override
      public void componentResized(ComponentEvent e) {
        setValue(getValue());
        fireValueChanged();
        repaint();
      }
@Override
      public void componentResized(ComponentEvent e)