• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jtext highlight visited line s

 
Anu Bhagat
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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



 
Anu Bhagat
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic