예제 #1
0
 /**
  * Stops an old text cursor thread and, if requested, starts a new one.
  *
  * @param start start/stop flag
  */
 private void caret(final boolean start) {
   caretTimer.stop();
   if (start) caretTimer.start();
   rend.caret(start);
 }
예제 #2
0
 @Override
 public void actionPerformed(final ActionEvent e) {
   rend.caret(!rend.caret());
 }