if (timer == null) timer = new javax.swing.Timer(1200, this); if (!timer.isRunning())
if (timer != null)
  protected void startEditingTimer()  {    if (timer == null)      timer = new javax.swing.Timer(1200, this);    if (!timer.isRunning())      timer.start();  }