Java tutorial
import java.applet.Applet; import java.awt.Color; import java.awt.Graphics; public class Main extends Applet { public void init() { setBackground(Color.WHITE); } public void paint(Graphics g) { g.setColor(Color.BLACK); g.drawString("Applet background example", 0, 50); } }