}
    public void actionPerformed(ActionEvent event)    {      JTextComponent t = getTextComponent(event);      Caret c = t.getCaret();      c.setDot(0);      try      {           c.setMagicCaretPosition(t.modelToView(0).getLocation());      }      catch(BadLocationException ble)      {        // Can't happen.      }    }