Is "d://Hello.htm" a valid file path, and does the code have the right to access it? A common cause for FileNotFoundException are missing access privileges.
I'm not sure what keeping the HTML in a JEditorPane adds to searching it, but be aware that that class only supports HTML 3.2, so many HTML features (including CSS) will not be rendered correctly or at all.
Post by:autobot
You firghten me terribly. I would like to go home now. Here, take this tiny ad:
a bit of art, as a gift, that will fit in a stocking