wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Jtext highlight visited line s Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Jtext highlight visited line s" Watch "Jtext highlight visited line s" New topic
Author

Jtext highlight visited line s

Anu Bhagat
Ranch Hand

Joined: Jun 20, 2008
Posts: 64
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




SCJP5.0, SCJA
Anu Bhagat
Ranch Hand

Joined: Jun 20, 2008
Posts: 64
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




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jtext highlight visited line s