hey... I wat to change the... well, the cursor (the little blinking thing in a text area where subsequent typing appears) in a JTextArea. Not the pointer (the mouse icon showing where on the screen the mouse is cuz some ppl thought that was wat I meant) but the cursor in a JTextArea. Not sure if that last part changes the answer, but just in case, there it is!
FALL3N
0
Junior Poster in Training
Recommended Answers
Jump to PostYou might create a custom caret to customize the appearance of a caret. To create a custom caret, write a class that implements the Caret interface — perhaps by extending the DefaultCaret class. Then provide an instance of your class as an argument to the setCaret method on a text …
Jump to Postok I realize that was an unfairly long question, and I change it to can you (or anyone else) explain to me what the install + deinstall methods for the Caret interface do and how they work? Oh, and how to write the two ChangeListener methods... I wrote all the …
All 8 Replies
Philippe.Lahaie
42
Posting Whiz in Training
mKorbel
commented:
dis_agree with down vote
+11
FALL3N
0
Junior Poster in Training
Philippe.Lahaie
42
Posting Whiz in Training
FALL3N
0
Junior Poster in Training
FALL3N
0
Junior Poster in Training
DavidKroukamp
105
Master Poster
Team Colleague
Featured Poster
FALL3N
commented:
his post was incredibly helpful
+3
FALL3N
0
Junior Poster in Training
FALL3N
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.