aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes how to highlight Highlight One Specific line/Row in a JTextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to highlight Highlight One Specific line/Row in a JTextArea " Watch "how to highlight Highlight One Specific line/Row in a JTextArea " New topic
Author

how to highlight Highlight One Specific line/Row in a JTextArea

jeffrey odametey
Greenhorn

Joined: Mar 25, 2012
Posts: 5
I want to highlight just one row or line in my text area to red perhaps but I have no clue as to how to do this I have researched on linepainter but do not understand how it works . Any Help will be much appreciated !! thanks
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

how is this related to Threads and Synchronization?
Jeff Verdegan
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

Tim McGuire wrote:how is this related to Threads and Synchronization?


It's not. Moving it.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10519
    
    9

jeffrey odametey wrote:.. I have researched on linepainter but ...

Its Highlighter and not linepainter you need


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to highlight Highlight One Specific line/Row in a JTextArea