Teen Programmers Unite  
 

 

Return to forum top

Downloading Java Applets

Posted by ItinitI [send private reply] at July 09, 2003, 10:37:55 PM

Is there a way I can download Java applets that are normally in an online webpage, to where I could use them offline in a web browser? ThanX!

Posted by Psion [send private reply] at July 09, 2003, 11:46:09 PM

You always download Java code before running applets that it contains. Look in the HTML source for the page containing the applet to see which files it's pointing you towards.

Posted by ItinitI [send private reply] at July 10, 2003, 12:05:56 AM

Okee, for one I got it's .jar file...but it like hangs up in during loading.
the others is just like a:
<applet CODE="zigzag.awt.AppletLoader.class" WIDTH=599 HEIGHT=400 CODEBASE="/java">
code in them..no references to a .jar file or something =/

Posted by Psion [send private reply] at July 10, 2003, 09:39:00 AM

Replace the .'s (except for .class) in the class name with /'s and that's the filename in the CODEBASE directory. Unfortunately, you'll have to figure out which other classes this main class needs and download those also, unless you can list the contents of the remote codebase directory.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.