On Mon, 04 Jul 2005 10:52:03 GMT, smita b via JavaKB.com wrote:
>>'BrowserLauncher' is much more robust than that.
> But i don't want to use it in my application.
> using browserlauncher also I will not be able to hide the mydirectory fro
> client.
Why do you feel it is necessary to hide anything
from the end user?
> My question is how to hide that directory from client.
Coming back to this for a moment..
> editor.setPage(getClass().getResource("/Mydirectory/default.htm"));
What is 'default.html'? If this is your program
documentation, it might be better to write it suitable
for a JEditorPane (and present it in a JEP).
>.By only providing the jar file it should work.
I do not understand what you mean by that.
Is the '.htm' file inside a jar file?
> please help.
Please stop saying that (sounding pathetic).
...and please consider posting questions to a group for
Java beginners, such as comp.lang.java.help.
[ Known, on your web-interface, as 'first-aid' ]
--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane