Готовая лабораторная 3
This commit is contained in:
parent
4680a5586a
commit
7539e7f88b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user