diff --git a/shukan/ShukanController.java b/shukan/ShukanController.java index 0cfd21a4ac3cf04ca38001ffd909edb9e614f688..b6d177489213eb4722e88b8abbf203701b5bd50c 100644 --- a/shukan/ShukanController.java +++ b/shukan/ShukanController.java @@ -15,17 +15,14 @@ public class ShukanController private ShukanViewBar bar; /** Controlled application data. */ private ShukanData data; - /** Controlled display student bar*/ - private ShukanStudent student; /** Constructs a event handler. * @param canvas display area. */ - public ShukanController(ShukanView canvas, ShukanViewBar bar, ShukanData data, ShukanStudent student) { + public ShukanController(ShukanView canvas, ShukanViewBar bar, ShukanData data) { this.canvas = canvas; this.bar = bar; this.data = data; - this.student = student; } @@ -220,7 +217,6 @@ public class ShukanController else if (e.getSource()== bar.buttons[6]) { data.toggleCursus(false); - student.changeStudentHeight(95); canvas.repaint(); } //if (data.followRight ()) canvas.repaint (); @@ -229,7 +225,7 @@ public class ShukanController else if (e.getSource()==bar.buttons[8]){ EventQueue.invokeLater(() -> { - ShukanParameters myParameters = new ShukanParameters("Changer de thème", canvas,student); + ShukanParameters myParameters = new ShukanParameters("Changer de thème", canvas); myParameters.setSize(300, 300); myParameters.setVisible(true); });