Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix name of window.
[graphlib_java.git] / Hello.java
index 51dd9f5..79d02b5 100644 (file)
@@ -3,7 +3,7 @@ public class Hello {
     public static void main(String[] args) {
         // Création d'une fenêtre avec, en paramètres, son titre, sa
         // largeur et sa hauteur
-        DrawingWindow w = new DrawingWindow("Exemple 1", 640, 480);
+        DrawingWindow w = new DrawingWindow("Hello", 640, 480);
 
         // Affichage d'un court message au milieu de la fenêtre
         w.drawText(w.width / 2, w.height / 2, "Hello world!");