diff --git a/SelfPropelledArtilleryUnit/Form.java b/SelfPropelledArtilleryUnit/Form.java index 23c7e75..11796db 100644 --- a/SelfPropelledArtilleryUnit/Form.java +++ b/SelfPropelledArtilleryUnit/Form.java @@ -118,7 +118,7 @@ public class Form extends JFrame { buttonUp.setBounds(804, 336, 30, 30); mainPanel.add(buttonUp); - ImageIcon iconUp = new ImageIcon("C:\\Users\\Egor\\Desktop\\ULSTU\\RPP\\Hard_\\PIbd-22_Petrushin_E.A._SelfPropelledArtilleryUnit_Hard_-1\\Arrows\\upper-arrow.png"); + ImageIcon iconUp = new ImageIcon("Arrows/upper-arrow.png"); buttonUp.setIcon(iconUp); buttonUp.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { @@ -128,7 +128,7 @@ public class Form extends JFrame { buttonDown.setBounds(804, 409, 30, 30); mainPanel.add(buttonDown); - ImageIcon iconDown = new ImageIcon("C:\\Users\\Egor\\Desktop\\ULSTU\\RPP\\Hard_\\PIbd-22_Petrushin_E.A._SelfPropelledArtilleryUnit_Hard_-1\\Arrows\\down-arrow.png"); + ImageIcon iconDown = new ImageIcon("Arrows/down-arrow.png"); buttonDown.setIcon(iconDown); buttonDown.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { @@ -138,7 +138,7 @@ public class Form extends JFrame { buttonLeft.setBounds(768, 372, 30, 30); mainPanel.add(buttonLeft); - ImageIcon iconLeft = new ImageIcon("C:\\Users\\Egor\\Desktop\\ULSTU\\RPP\\Hard_\\PIbd-22_Petrushin_E.A._SelfPropelledArtilleryUnit_Hard_-1\\Arrows\\left-arrow.png"); + ImageIcon iconLeft = new ImageIcon("Arrows/left-arrow.png"); buttonLeft.setIcon(iconLeft); buttonLeft.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { @@ -148,7 +148,7 @@ public class Form extends JFrame { buttonRight.setBounds(840, 372, 30, 30); mainPanel.add(buttonRight); - ImageIcon iconRight = new ImageIcon("C:\\Users\\Egor\\Desktop\\ULSTU\\RPP\\Hard_\\PIbd-22_Petrushin_E.A._SelfPropelledArtilleryUnit_Hard_-1\\Arrows\\right-arrow.png"); + ImageIcon iconRight = new ImageIcon("Arrows/right-arrow.png"); buttonRight.setIcon(iconRight); buttonRight.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) {