Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Complete list of color names.
[graphlib_java.git] / Test.java
index 861ccf0..ee95f63 100644 (file)
--- a/Test.java
+++ b/Test.java
@@ -2,7 +2,7 @@ class Test{
     public static void main(String[] args) {
         DrawingWindow w = new DrawingWindow("Test!", 400, 400);
 
-        w.setColor("green");
+        w.setColor("lawngreen");
         for (int i = 0; i < 12; i++) {
             int p = 10 * i + 10;
             w.drawLine(p, 0, p, 175);
@@ -23,4 +23,4 @@ class Test{
             w.fillTriangle(p, 150, p + i, 150 + i/2, p, 150 + i);
         }
     }
-}
\ No newline at end of file
+}