First page
Back
Continue
Last page
Overview
Graphics
Implementing Applet Methods
public void paint(Graphics g) {
g.drawString("Hello world!", 50, 25);
}
Notice:
import java.awt.Graphics;
Notes: