La premiere applet... tmin.java : Download all source
// Importations
public class tmin extends java.applet.Applet {
// Variables
// Dessiner l'applet
public void paint(Graphics g) { // Methode paint()
// On dessine "Hello World" a la position 5/15
g.drawString("Hello World...", 5, 15) ;
}
}
This code is a very simple applet, this applet draw "Hello World..." string at position "5, 15".
Exemple...
[an error occurred while processing this directive]
[an error occurred while processing this directive]
[an error occurred while processing this directive]