TP
This commit is contained in:
14
DEV2.1/TP12/03_Homothetie/Main.java
Normal file
14
DEV2.1/TP12/03_Homothetie/Main.java
Normal file
@@ -0,0 +1,14 @@
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
Fenetre fenetre;
|
||||
try {
|
||||
if (args[0].equals("diviser")) {
|
||||
fenetre = new Fenetre(false);
|
||||
}
|
||||
else {
|
||||
fenetre = new Fenetre(true);
|
||||
}
|
||||
} catch (ArrayIndexOutOfBoundsException e) {
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user