Skip to content
Snippets Groups Projects
Commit 6fe54d02 authored by PIQUEREZ Corentin's avatar PIQUEREZ Corentin
Browse files

boutons save et export fonctionnels

parent 2884c90d
No related branches found
No related tags found
No related merge requests found
2
10
230519
......@@ -203,21 +203,25 @@ public class ShukanController
}
public void actionPerformed(ActionEvent e){
if (e.getSource()== bar.buttons[0])
System.out.println("save");
canvas.saveData ();
else if (e.getSource()== bar.buttons[1])
System.out.println("back");
System.out.println("back");
else if (e.getSource()==bar.buttons[2])
System.out.println("plus");
System.out.println("plus");
else if (e.getSource()==bar.buttons[3])
System.out.println("delete");
System.out.println("delete");
else if (e.getSource()==bar.buttons[4])
System.out.println("left");
System.out.println("left");
//if (data.followLeft ()) canvas.repaint ();
else if (e.getSource()==bar.buttons[5])
System.out.println("right");
System.out.println("right");
//if (data.followRight ()) canvas.repaint ();
else if (e.getSource()==bar.buttons[6])
System.out.println("export");
new ShukanTex (data);
else if (e.getSource()==bar.buttons[7])
System.out.println("parameter");
System.out.println("parameter");
canvas.requestFocusInWindow();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment