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;

JEditorPane pane = new JEditorPane();
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.