From 5bfa75169fa370020f8a51bb877d45b7602195ce Mon Sep 17 00:00:00 2001 From: victinass Date: Mon, 29 Apr 2024 12:13:24 +0400 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=81=D1=82=D1=80=D0=B5=D0=BB=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/res/arrowDown.png | Bin 0 -> 699 bytes src/res/arrowLeft.png | Bin 0 -> 713 bytes src/res/arrowRight.png | Bin 0 -> 711 bytes src/res/arrowUp.png | Bin 0 -> 687 bytes src/src/FormBattleship.java | 8 ++++---- 5 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 src/res/arrowDown.png create mode 100644 src/res/arrowLeft.png create mode 100644 src/res/arrowRight.png create mode 100644 src/res/arrowUp.png diff --git a/src/res/arrowDown.png b/src/res/arrowDown.png new file mode 100644 index 0000000000000000000000000000000000000000..f612502fa8b3966466e5a1c151b118daad3647f7 GIT binary patch literal 699 zcmeAS@N?(olHy`uVBq!ia0vp^Gk|y+2OE%7I^h@yq!^2X+?^QKos)S9a~60+7Besim4Gngy)^j>1_q`8PZ!6KinzCT4fEy%Ft}bU+%|=G$=R;U zY0Qz6je|D$81T$D+`hqLxg?iM>DM~uS<|oYmUh|ayMKa!gl6MJp@Af-D)-J_H}lVr zpXs}#zW=`d{biRWciE)$MSGYUClojdAZ;wmo_w6}di_Y4)70R@YwFGu<}W<@NdZk*^aEr1h~q%DAJx zp|vu_ooQ3tYnE>+uT9+&wENc0_zWzGn0NdWR)4p1{CGfvl zJNfG^^$pBxt`{=h-ncdBT6WI?56+weMQcIId8@j;Vvhe<&L1S!GX*FgTe~DWM4fLt7qd literal 0 HcmV?d00001 diff --git a/src/res/arrowLeft.png b/src/res/arrowLeft.png new file mode 100644 index 0000000000000000000000000000000000000000..dcdea7ef0bef65fd662cb40c0e6838be3bd966b0 GIT binary patch literal 713 zcmeAS@N?(olHy`uVBq!ia0vp^(|~ve2OE%N;})0%q!^2X+?^QKos)S9a~60+7Besim4Gngy)^j>1_q`$PZ!6KinzD80==XYCE70D&@E-Yx9icp zU5)Eb&N6BgFq-W4yz}e-^Nk4yxLM`z=VHie-8g$A9yxt$A)c9 zLRTO2h+f;eg5|4e8`tY7hv@W)=L(h=60T*}2mfb(xnCzj^3ICvQj^jM_2|aA_4!W(zL{OsjM*&K z^Z7^Np(vThn>>CCUSn;1d)W9I@A6`eZNE9XTY^2DB2-#j2Pg5M;0N=(+jAHl{wUV~ PlOKbptDnm{r-UW|-R1~F literal 0 HcmV?d00001 diff --git a/src/res/arrowRight.png b/src/res/arrowRight.png new file mode 100644 index 0000000000000000000000000000000000000000..f8bb58afdd0b39f96e37ae4348b5d95853d3b921 GIT binary patch literal 711 zcmeAS@N?(olHy`uVBq!ia0vp^(|~ve2OE%N;})0%q!^2X+?^QKos)S9a~60+7Besim4Gngy)^j>1_q`WPZ!6KinzD89Q%Y4C0qk<>F#7)zV60K z=>p%}|6DJFR%SKsN{ue{b4obYF#EgUq067Uh1a|}{8KVaRY&NMlH%Yb)=1a>`t$a9 zbE^M&{d4Op4{u$tukL3>-O(vWt0u7S_KVOKys^HeboowUjdkrZYGhun+*}dl{ z?yrAqwx-H*ovZSOaKDFLZVtr^mMLyxdkk$QeDH&`O0ef2e;|P8p~1-DLoXKBp}9_IB^gXjhA0qFOZwJjOFh( RV4`DS@O1TaS?83{1OSSu^x^;j literal 0 HcmV?d00001 diff --git a/src/res/arrowUp.png b/src/res/arrowUp.png new file mode 100644 index 0000000000000000000000000000000000000000..5f888377436ba324c43e04d41cbe0750f90e4756 GIT binary patch literal 687 zcmeAS@N?(olHy`uVBq!ia0vp^Gk|y+2OE%7I^h@yq!^2X+?^QKos)S9a~60+7Besim4Gngy)^j>1_mYgTe~ HDWM4faz)wp literal 0 HcmV?d00001 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() {