These are the sources for the DESCapplet starter kit.

Applets do not have an evident main method.
(The main is in the base class Applet which you don't see.)

In Netbeans, instead of running main, you can run by
first building the project, then select the file
DESCapplet.java in the Project window, then select Run file
(or shift F6) from the Run menu.


An alternative is to compile all of the files first
(either within Netbeans or from the command line)
then from the command line enter:

appletviewer desc.html

This assumes that you are in the same directory as
desc.html. If not, you need to supply a path qualifier
in front of desc.html.


A third alternative is to copy all of your .class files
in directory build/desc and also your desc.html to a public
web directory. Then from a browser visit that directory
with /desc.html added on the URL.

For example, you should have a directory on knuth.cs.hmc.edu
if you have an account there.  In your home directory there
is a directory public_html into which you can put the files.
Then you need to set file protections as follows:

    chmod 755 desc
    chmod 644 desc/*

assuming that your files are in directory desc.  The URL
for your applet would then be

    http://www.cs.hmc.edu/~xxxx/desc/desc.html

where xxxx is replaced with your login name.





