Applets

Applets sind Java-Programme, die in HTML-Seiten eingebunden sind (siehe bspw. map24.de).

Alle Applets werden von der Klasse %JAVADOC{java.applet.Applet}% abgeleitet.

import java.applet.Applet;
import java.awt.Graphics;

public class HelloWorld extends Applet {
    public void paint(Graphics g) {
        g.drawString("Hello world!", 50, 25);
    }
}

-- ChristopherHuhn - 13 Nov 2003
Topic revision: r5 - 2003-11-28, ChristopherHuhn - This page was cached on 2022-01-23 - 11:20.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)