How to view Java Applets offline?

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

How to view Java Applets offline?

Post by Psychophanta »

Does anyone know a program to do that? Or some trick?
Thanks :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
benny
Enthusiast
Enthusiast
Posts: 465
Joined: Fri Apr 25, 2003 7:44 pm
Location: end of www
Contact:

Post 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.
regards,
benny!
-
pe0ple ar3 str4nge!!!
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

thanx! i'll try appletviewer.exe...
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Pantcho!!
Enthusiast
Enthusiast
Posts: 538
Joined: Tue Feb 24, 2004 3:43 am
Location: Israel
Contact:

Post 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:
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post 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 :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Pantcho!!
Enthusiast
Enthusiast
Posts: 538
Joined: Tue Feb 24, 2004 3:43 am
Location: Israel
Contact:

Post 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?
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Here are only .htm , .class , .gif and .jpg files. No one .JAR file.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Post Reply