Flanagan, David (1996) Java in a Nutshell, O'Reilly, Cambridge, second edition.
Flanagan, David (1997) Java Examples in a Nutshell, O'Reilly, Cambridge.
Koosis, Donald J. and David Koosis (1997) Java Programming for Dummies, IDG Books, Foster City.
Oaks, Scott and Henry Wong (1997) Java Threads, O'Reilly, Cambridge.
van der Linden, Peter (1997) Just Java and Beyond, Sunsoft Press, Palo Alto, third edition.
pending....
DOS window
edit, java, javac, appletviewer, javap
nongraphic
graphic/applet
public class mhhello {
public static void main(String argv[]) {
System.out.println("Hello world!");
}
}
the applet
import java.applet.*;
import java.awt.*;
public class mhhello2 extends Applet {
public void init() {
setBackground(Color.green);
}
public void paint(Graphics g) {
g.drawString("Hello world!",10,10);
}
}
the html file
<html> <head> <title>A test</title> </head> <body> <applet code="mhhello2.class" height=50 width=300> You don't have a java-enabled browser! </applet> </body> </html>