if(offs > 0)
if(offs >= 0)
      public void actionPerformed(ActionEvent event)      {	JTextComponent t = getTextComponent(event);	if (t != null)	  {        int offs = t.getCaretPosition() - 1;                if(offs > 0)          {            Caret c = t.getCaret();            c.moveDot(offs);            try              {                c.setMagicCaretPosition(t.modelToView(offs).getLocation());              }            catch(BadLocationException ble)            {              // Can't happen.            }          }	  }      }