Id: web.tex,v 1.2 2006-12-11 15:46:45 waldmann Exp
erzeuge Datei Counter.html:
<html>
<head> <title>Counter Applet</title> </head>
<body> <h1>Counter Applet</h1>
<applet code="Counter.class"
width=500 height=500 >
</applet>
</body> </html>
Browser ruft Methoden:
init (einmal), start/stop (oft), destroy (einmal)
Datei Counter.class enthält Bytecode,
entsteht durch Kompilieren von Counter.java
Quelltext ist zur Applet-Ausführung nicht nötig.