Готовая Лабораторная 2

This commit is contained in:
Никита Белянин 2023-10-29 19:16:33 +04:00
parent 41dc8a4325
commit a3c081c02a

View File

@ -22,19 +22,19 @@ public class FormTank {
JButton buttonStrategysStep = new JButton("Шаг");
JComboBox ComboBoxStrategy = new JComboBox(new String[]{"к центру", "к краю формочки"});
Icon iconUp = new ImageIcon("Resources/KeyUp.png");
Icon iconUp = new ImageIcon("Tank//Resources//KeyUp.png");
JButton up = new JButton(iconUp);
up.setName("up");
Icon iconDown = new ImageIcon("Resources/KeyDown.png");
Icon iconDown = new ImageIcon("Tank//Resources//KeyDown.png");
JButton down = new JButton(iconDown);
down.setName("down");
Icon iconRight = new ImageIcon("Resources/KeyRight.png");
Icon iconRight = new ImageIcon("Tank//Resources//KeyRight.png");
JButton right = new JButton(iconRight);
right.setName("right");
Icon iconLeft = new ImageIcon("Resources/KeyLeft.png");
Icon iconLeft = new ImageIcon("Tank//Resources//KeyLeft.png");
JButton left = new JButton(iconLeft);
left.setName("left");