import java.applet.*;
import java.awt.*;
public class
HelloWorld extends Applet {
public void
init() {
resize(150,25);
}//init
public void
paint(Graphics g) {
g.setFont(new
Font("Helvetica", Font.PLAIN, 8));
g.drawString("Hello world!", 50, 25);
}//paint
}//HelloWorld
0 Response to "java applet"
Post a Comment