How to highlight phrases in an html page that has been loaded in an JEditorPane
Hi,
I am creating a small application that loads an html ebook and the user will be able to highlight some phrases or words and then save the ebook. In my first step I just want when I load again the ebook the highlighted phrases to appear again. In my final step I want to create a file with the changes and when the ebook loads to combine the files to appear like the user has made it.
So please help first how I can highlight the words and in general if you can give me some hints how I should work to get the application with the way I want.
Thanks in advance
|