I am creating a start page for my application and it use jEditorPane to load an HTML document. I have it detecting hyperlink "ENTER" "EXIT" and "ACTIVATED". I know how to get an attribute of the link but how do I change an attribute. I would like to impliment a rollover effect so when ENTER is fired off it changes the links style to have color: #FF0000 and on EXIT put it back to color: #FFFFFF
I've looked in HTMLEditorKit, but can seem to figure out how to use it to do what I need.