Here's a signed applet. This page is set up to run under Java Activator. The applet pops up a frame. Note that, because the applet is signed, the window is free of the "Warning: Applet Window" caption. Activator is currently (April 1998) available in EA3 form from developer.javasoft.com

Something to watch: in the properties files, make sure that you don't leave any whitespace between the end of the property value and the redirection symbol. This can cause strange errors to occur.

Also, you should do "view source" on this file and look at the applet tag; note that the archive name is "hello.jar.sig"; once your JAR file has been signed, it's OK to use it as you would any other JAR file.

The applet source

Batch file used to sign applet

Batch file used to set up security database

Note: if you're getting the following exception

java.lang.NullPointerException
        at sun.security.provider.Main.generateKeyPair(Main.java:1022)
        at sun.security.provider.Main.generateCmd(Main.java:721)
        at sun.security.provider.Main.run(Main.java:1394)
        at sun.security.provider.Main.main(Main.java:1423)

when you try to run the command
javakey -gk TomValesky DSA 512
you've encountered a bug in JDK 1.1.6. The workaround is described here. In short, the workaround is to explicitly specify the public and private filenames, that is:
javakey -gk TomValesky DSA 512 pub_file priv_file
I've tested the fix, and it works.