Hello.. I've stumbled upon a little problem. I'm using a JTextPane to display some data, which I put on the pane from an array. The array contains strings of data. I have to modify certain characters in a given string, which I do using a StringBuffer, write this back to its old position in the array, and then place back onto the pane. All this is fine, works great. However, I must indicate the characters that were modified on the string (on the JTextPane), either being highlighted or colored. How can I do this, given that the data is written back from the array, as strings? Any help would be appreciated. Thanks a lot!