tags:

views:

71

answers:

1
+1  A: 

"Cursor" is used to refer to the mouse cursor which does not blink.

So, I assume you are talking about the caret which is used in a text component:

textField.setCaretColor(...);

Edit:

The above suggestion does it for one text field. To change it for all text fields you should be able to use the following at the start of your program:

UIManager.put("TextField.caretForeground", new ColorUIResource(...));
camickr
Perfect....thank u so much.....i thought it was not possible......
Nitz