}
      public void actionPerformed(ActionEvent event)      {        JTextComponent t = getTextComponent(event);      try          {        int offs = Utilities.getRowStart(t, t.getCaretPosition());                if (offs > -1)              {                Caret c = t.getCaret();                c.setDot(offs);                    c.setMagicCaretPosition(t.modelToView(offs).getLocation());                  }      }                catch (BadLocationException ble)                  {        // Do nothing here.                  }              }