aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes appletviewer not showing applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "appletviewer not showing applet" Watch "appletviewer not showing applet" New topic
Author

appletviewer not showing applet

Karen Nelson
Ranch Hand

Joined: Aug 19, 2005
Posts: 57
Hi,
I have a small applet that seems to run ok when opened in a browser, but when I feed the page to appletviewer, it won't display the applet.

It might be because I'm not very familiar with appletviewer, maybe I'm using it incorrectly? (I'm just typing >appletviewer filename.html).

Or because the applet is in a package?

The applet tag I'm using is <applet code="com/rephunk/PunnettApplet.class" archive="punjar.jar,kclasses-new.jar" height=500 width=750>.

(punjar is where the applet code is, kclasses-new is a compilation of standard classes I've written, both are in the same package).

If I don't use appletviewer, my browser caches the old files and I have to keep changing the filenames to debug. Is there an easier way to do this? So far I have been developing the code as a standalone application, then converting it to an applet an the last possible moment, but always there are still a few things to fix then.

Thank you!! Karen.
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Try navigating into the "com/rephunk" folder (containing the applet) and running the J/Applet with
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: appletviewer not showing applet
 
Similar Threads
[applet]....
JApplet Browser security issues
extra jar package problem
Applet notinted error when imbedded in servlet html output
avoid Applet restrictions on my own machine