I found the following code on the web:
I compiled it and it runs just fine.
My next steps are to:
1) put all 4 of the class files and about 4,000 HTML files into a JAR file. I tried to run jar -cf jarName.jar *.class to import the class files into my Jar, but it didn't work. I was able to get the class files into the Jar, but I guess it's having problems finding the "executoable" public static void main(
String [] args)...
2) I want to use this code to launch index.html which will be inside of the Jar file.
3) from index.html, allow the user to navigate from one page in the JAR file to the next.
How can I do this?
Currently the line
is not accepting index.html as the default html file name.
What do I have to point Browser() at?
[ January 26, 2005: Message edited by: Marcus Laubli ]