Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Opening Local HTML Files

843805Mar 20 2006 — edited Mar 20 2006
I'n building a simple html viewer using Java, but I'm not sure what to use to display local html pages. I've used JEditorPane before to build a web browser, but I'm not sure how to use that to view html pages stored on the local hard drive. The setPage method in JEditorPane only takes a url, so does that mean I can't use it with local html pages? Thanks in advance for any help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2006
Added on Mar 20 2006
2 comments
116 views