Call textArea.setCaretColor(Color.WHITE);
method.
Change Position Marker Color in JTextArea
Question
I was wondering how to change the color of the position marker (the blinking I) in a JTextArea. The reason I want to do this is because I'm going to have a GUI with a black background, and green text (old terminal style). I want a white or green position marker. Thanks!
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow