JTextArea highlighting frustration
I have a JTextArea with misc data. What I want to do is to highlight a certain line of text (the whole line). I have been looking at misc tutorials but they all seem to be geared towards highlighting certain words.
The JTextArea is also inside a JScrollPane. The highlight could be done in several ways: pain all the text in that certain line red, and put the text in bold, or the actual highlighter (the one that appears when you select text with the mouse) could also highlight the text. The method doesn't really matter, as long as the text stands out. The selected line should also be centered in the JScrollPane if possible (it wont if, for example, the text doesnt fill the JTextArea).
I am really really frustrated, after trying to work this out for the last 3+ hours, and not getting further at all. Sorry if these questions was porely written.
Oh; the JTextArea should also be set to Editable(false), as it is just used as a display.

