• 0

Highlighting a line of text in JTextArea


Question

7 answers to this question

Recommended Posts

  • 0

ok well i got it working, how would i be able to determine how many chars is in a particular line because all i want to do is select/highlight a particular line

for example:

THIS IS LINE 1

THIS IS LINE 2

however i wouldn't know how many chars is in any of the lines, how would i go about highlighting say line 1

thanks :D

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.