0

Hi everyone,

I'd like to write a small application to basically read in some text from a file, display it in a GUI (I've done this using a textpane), and then change the font color of certain words if they exist in the text (say from the default color to red) ... but I'm not sure how to go about the highlighting part.

Does anyone have any hints / suggestions on a good way to do this?

Thanks!

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Ezzaral
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.