hello,

any help is appreciated.

how can you display a pure html file that is saved in the local disk using Java?
i have seen codes to display a webpage using JEditorPane;

Code:
JEditorPane pane = new JEditorPane();
pane.setPage("http://www.somewebpage.com");
i tried replacing the url parameter in the setPage with the filename of the locally saved html file, but i can't make it work.

help please.