setDelay(caret.getBlinkRate());
Caret c = caret; if (c != null) { setDelay(c.getBlinkRate());
    public void update()    {            stop();      setDelay(caret.getBlinkRate());      if (editable)                start();      else        caret.setVisible(false);    }