• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

appletviewer not showing applet

 
Karen Nelson
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try navigating into the "com/rephunk" folder (containing the applet) and running the J/Applet with
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic