>'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.
My question is how to hide that directory from client.By only providing the
jar file it should work.
please help.
>>'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' ]

Signature
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
smita b - 04 Jul 2005 13:31 GMT
Directory smita contains:
1.java [file]
1.class [file]
Manifest.txt [file]
finaljar.jar [file]
Mydirectory [directory] -- contains default.htm
In 1.java I am using :-
I want to start IEXPORE by passig the default.htm from Mydirectory :
default.htm contains a some javascript code & html tags.
For creating jar file I am using :
jar cvmf Manifest.txt myjar.jar 1.class Mydirectory.
I want to only give the jar file to the client & not mydirectory.
Can I do it using another jar or any else ?
Andrew Thompson - 04 Jul 2005 13:55 GMT
[snip]
Post that to 'first-aid' and I will advise further.

Signature
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