Commit e7865f3e authored by Baptiste Fournier's avatar Baptiste Fournier

working when image path is specified [Working]

parent 9433a193
......@@ -19,6 +19,8 @@ public class MaFenetre extends JFrame implements KeyListener{
Dimension preferredSize = new Dimension(1000,1000);
this.setTitle("Graphisme avec Swing");
......@@ -6,7 +6,7 @@ import java.awt.*;
public class MaCouleur {
Color objColor;
public MaCouleur() {
objColor = Color.white;
objColor =;
public void changeColor(Color newcolor){
objColor = newcolor;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment