1 Attachment(s)
using href for JEditorpane reading html file
Hi,
I'm new to the forums. Hopefully i am posting this in the right place.
I have a simple program that reads an html file and sets it on a JEditorpane. The JEditorpane is then put on a JScrollPane.
I would like to be able to click on the href and have it scroll to a section in the html file. It works when I open the html file in a web browser,but not when I click on it when i run it in eclipse.
I've tried some google searches to find information on my issue,but haven't had much luck. Any help would be great (especially if you have a good site to read up on this stuff)
Edit:
>.> eclipse was kindly telling me why it wasn't work. Sorry for wasting time with a post.