diff --git a/src/res/arrowDown.png b/src/res/arrowDown.png new file mode 100644 index 0000000..f612502 Binary files /dev/null and b/src/res/arrowDown.png differ diff --git a/src/res/arrowLeft.png b/src/res/arrowLeft.png new file mode 100644 index 0000000..dcdea7e Binary files /dev/null and b/src/res/arrowLeft.png differ diff --git a/src/res/arrowRight.png b/src/res/arrowRight.png new file mode 100644 index 0000000..f8bb58a Binary files /dev/null and b/src/res/arrowRight.png differ diff --git a/src/res/arrowUp.png b/src/res/arrowUp.png new file mode 100644 index 0000000..5f88837 Binary files /dev/null and b/src/res/arrowUp.png differ diff --git a/src/src/FormBattleship.java b/src/src/FormBattleship.java index 43bf77a..f6b0df2 100644 --- a/src/src/FormBattleship.java +++ b/src/src/FormBattleship.java @@ -28,17 +28,17 @@ public class FormBattleship extends JFrame { Height = getHeight() - 35; CreateButton.setName("CREATE"); - Icon iconUp = new ImageIcon("C:\\Users\\Админ\\Downloads\\arrowUp.png"); + Icon iconUp = new ImageIcon("src/res/arrowUp.png"); UpButton.setIcon(iconUp); UpButton.setName("Up"); DownButton.setName("Down"); - Icon iconDown = new ImageIcon("C:\\Users\\Админ\\Downloads\\arrowDown.png"); + Icon iconDown = new ImageIcon("src/res/arrowDown.png"); DownButton.setIcon(iconDown); LeftButton.setName("Left"); - Icon iconLeft = new ImageIcon("C:\\Users\\Админ\\Downloads\\arrowLeft.png"); + Icon iconLeft = new ImageIcon("src/res/arrowLeft.png"); LeftButton.setIcon(iconLeft); RightButton.setName("Right"); - Icon iconRight = new ImageIcon("C:\\Users\\Админ\\Downloads\\arrowRight.png"); + Icon iconRight = new ImageIcon("src/res/arrowRight.png"); RightButton.setIcon(iconRight); CreateButton.addActionListener(new ActionListener() {