diff --git a/src/tec/letsgoing/ardublock/simulator/view/GUI.java b/src/tec/letsgoing/ardublock/simulator/view/GUI.java index 5133ddd642ee4868e3e3e170f29cd5d2bb28a9d7..0e752ea0e322b70897fef8763ac3f9b5c16ff751 100644 --- a/src/tec/letsgoing/ardublock/simulator/view/GUI.java +++ b/src/tec/letsgoing/ardublock/simulator/view/GUI.java @@ -59,13 +59,13 @@ public class GUI extends JFrame implements Runnable, ActionListener { super("ArdubBlock Simulator"); //Konstruktor der Module - modules[0] = new RGB(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/PM31_RGB_LED.png")))); - modules[1] = new Button(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/PM26_Taster.png"))), - new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/Taster_Off.png"))), - new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/Taster_On.png")))); + modules[0] = new RGB(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/PM31_RGB_LED.png")))); + modules[1] = new Button(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/PM26_Taster.png"))), + new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/Taster_Off.png"))), + new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/Taster_On.png")))); modules[2] = new Poti( - new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/PM24_Potentiometer.png")))); - modules[3] = new ArduinoUno(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/ArduinoUno.png"))), + new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/PM24_Potentiometer.png")))); + modules[3] = new ArduinoUno(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/ArduinoUno.png"))), simu); //this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); //Vermutlich nicht gewünscht. @@ -111,10 +111,10 @@ public class GUI extends JFrame implements Runnable, ActionListener { JButton reloadButton = new JButton(); JButton measButton = new JButton(); - goButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/Play.png")))); - stopButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/Stop.png")))); - reloadButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/Reload.png")))); - measButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/img/Measure.png")))); + goButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/Play.png")))); + stopButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/Stop.png")))); + reloadButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/Reload.png")))); + measButton.setIcon(new ImageIcon(getToolkit().getImage(GUI.class.getResource("/tec/letsgoing/ardublock/simulator/img/Measure.png")))); goButton.addActionListener(simu); stopButton.addActionListener(simu);