To make an applet, you really need to understand AWT / Swing. It is possible to write an applet using the terminal window, but it will write to a separate console in a web browser, and not the main screen. You can see this console in:
The most basic of basic applets will look something like this:
import java.awt.*;
import java.awt.event.*;
import java.applet.*;
public class tknapp extends Applet
{
public void init()
{
//do one-time stuff here
}
}
Below is a sample applet:
If you are running Netscape, then look at your Java console!