In order to run an applet with the appletviewer you'll need to pass an html file containing an HTML applet tag as argument.
So you need to create a simple html file containing an applet tag like this:
<applet code="Text" width="300" height="300"></applet>
A second possibiltiy would be to include a comment to your java file as follows:
Then you can invoke your applet by calling appletviewer with the name of the source file as argument:
Hope that helps,
[This message has been edited by dani3l (edited November 04, 2001).]