volatile boolean mouseDown = false;
volatile boolean mouseDown;
  protected void installPreviousButtonListeners(Component c)  {    c.addMouseListener(new MouseAdapter()        {	  public void mousePressed(MouseEvent evt)	  {	    if (! spinner.isEnabled())	      return;	    decrement();	    timer.setInitialDelay(500);	    timer.start();	  }	  public void mouseReleased(MouseEvent evt)	  {	    timer.stop();	  }	  void decrement()	  {	    Object prev = BasicSpinnerUI.this.spinner.getPreviousValue();	    if (prev != null)	      BasicSpinnerUI.this.spinner.getModel().setValue(prev);	  }	  volatile boolean mouseDown = false;	  Timer timer = new Timer(50,	                          new ActionListener()	      {		public void actionPerformed(ActionEvent event)		{		  decrement();		}	      });        });  }