RBL JAVA Tips
Main page
Home
[ Home Page FR | Applets | Servlets | Composants ASP | Trucs et Astuces ]

Retour Index
  • 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...





Copyright © 1996..2003,
BERTHOU. All right reserved.
Last change : 05 March 2003 18H20