Готовая лабораторная 3

This commit is contained in:
Никита Белянин 2023-11-12 22:22:36 +04:00
parent 4680a5586a
commit 7539e7f88b

View File

@ -58,12 +58,11 @@ public class FormTank {
down.setIcon(iconDown);
JButton left = new JButton();
left.setName("left");
ImageIcon iconLeft = new ImageIcon("Tank//Resources//KeyLeft.png");
left.setIcon(iconLeft);
JButton right = new JButton();
JButton right = new JButton();
right.setName("right");
ImageIcon iconRight = new ImageIcon("Tank//Resources//KeyRight.png");
right.setIcon(iconRight);