This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jeffrey odametey
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how is this related to Threads and Synchronization?
 
Jeff Verdegan
Bartender
Posts: 6109
6
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim McGuire wrote:how is this related to Threads and Synchronization?


It's not. Moving it.
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jeffrey odametey wrote:.. I have researched on linepainter but ...

Its Highlighter and not linepainter you need
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic