Forums Register Login

Jtext highlight visited line s

+Pie Number of slices to send: Send
I can highlight visited lines in one color. I want to highlight previously visited lines with gray and the current line with yellow.
My code is as follows. With this all visted lines are highlighted with yellow. When step button is clicked the actionPerformed method is invoked.

Please help Thanks in advance.

Anu



+Pie Number of slices to send: Send
Please give any pointer hint that will help me to hilight the current line with different color than all the previously visited lines.

Thanks in advance Here is my java class

Anu




Good heavens! What have you done! Here, try to fix it with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1075 times.
Similar Threads
Highlight the search field in a text area -----HELP required URGENT
DataTable inside a DataTable
Convert a string into an array of String
Highlighting text in a JTextPane without scrolling to the end.
how to reference already defined property as the value for another key in the properties file.
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 15, 2024 22:19:50.