Method setCaret(Caret c)
Return type: void
Member of: javax.swing.text.JTextComponent
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 comp.setCaret(null);
2 m_tc.setCaret(new VOvrCaret());
3 setCaret(new VOvrCaret());
4 component.setCaret(caret);
5 m_text.setCaret(new VOvrCaret());
6 editor.setCaret( new XmlCaret());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.