Page 1 of 1

How to view Java Applets offline?

Posted: Sun Jul 03, 2005 10:53 am
by Psychophanta
Does anyone know a program to do that? Or some trick?
Thanks :)

Posted: Sun Jul 03, 2005 1:45 pm
by benny
@Psychophanta:

There is a programm called Appletviewer.exe (start it in your Windows-
Dos-Box e.g.) which displays an applet without the browser.

However, you still need a .html file which contains the url to your applet-code
as well as the size information of your applet.

If you code applets on your own and want to release a stand-alone version
of it, put it in an Applet Frame like this :

http://www.hmi.de/people/fromme/java/de ... Frame.java

When coding applets with Netbeans for example, the ide automatically launches
your applet in a viewer for testing.

Posted: Sun Jul 03, 2005 1:55 pm
by Psychophanta
thanx! i'll try appletviewer.exe...

Posted: Tue Jul 05, 2005 8:06 pm
by Pantcho!!
just take the applet.jar

rename it to applet.zip

open the file to a temporary directory

download this Java decompiler

http://www.kpdus.com/jad.html

have fun with the code. :wink:

Posted: Tue Jul 05, 2005 8:54 pm
by Psychophanta
Thank you, but
Pantcho!! wrote:just take the applet.jar
What applet.jar :?:
Java decompiler?
Maybe you don't understand. I just need to see html files containing java applets links OFFLINE, no more :)

Posted: Wed Jul 06, 2005 12:32 pm
by Pantcho!!
HTML files dont contain ANY JAVA APPLETS

they only refer to the applet file with some values in the HTML.
it means the browser goes to the location the applet mostly ending with ".JAR" and download it to its temp directory and unzipping it.

explain what is that you really needs
how to work applet from HTML?
what?

Posted: Wed Jul 06, 2005 3:31 pm
by Psychophanta
Here are only .htm , .class , .gif and .jpg files. No one .JAR file.