Java - Highlighting Text Between two Chars - JTextPane

tankaya61

New Member
I need to be able to highlight the words within two chars. For example, :\[code\]//Highlight whatever is in between the two quotation marksString keyChars = " \" \" ";\[/code\]I have been grueling over this for weeks now. I've looked it up, read source codes, wrote code, and still I have yet to find out how I would be able to do this.
 
Top