update
This commit is contained in:
12
DEV.2.1/TP/TP7-Polymorphisme/3./MainPolyligne.java
Normal file
12
DEV.2.1/TP/TP7-Polymorphisme/3./MainPolyligne.java
Normal file
@@ -0,0 +1,12 @@
|
||||
public class MainPolyligne {
|
||||
public static void main(String[] args) {
|
||||
JFrame frame = new JFrame("Polyligne");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
Polyligne truc = new Polyligne();
|
||||
|
||||
frame.setSize(500,500);
|
||||
frame.setLocation(500,250);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
}
|
9
DEV.2.1/TP/TP7-Polymorphisme/3./Polyligne.java
Normal file
9
DEV.2.1/TP/TP7-Polymorphisme/3./Polyligne.java
Normal file
@@ -0,0 +1,9 @@
|
||||
import java.awt.Point;
|
||||
|
||||
public class Polyligne {
|
||||
public Polyligne() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user