Method getCaret()
Return type:
javax.swing.text.Caret
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
checkAddEntry(c, c.getCaret().getDot());
2
codeEditorPane.getCaret().setVisible(codeEditorPane.hasFocus());
3
getCaret().setBlinkRate(0);
4
OurMsgJTextPane.getCaret().setVisible(true);
5
chatMain.panel.OurMsgJTextPane.getCaret().setVisible(true);
6
textPane.getCaret().setDot(Integer.MAX_VALUE);
7
if (m_tc == null || m_tc.getCaret() instanceof VOvrCaret)
8
Point caretPoint = textArea.getCaret().getMagicCaretPosition();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.