126127128129130131132133
TextCaret caret; public SwText() { super(SwingText.this); caret = new TextCaret(SwingText.this, this); caret.addNavKeys(KeyboardButtons.UP, KeyboardButtons.DOWN); }