Готовая Лабораторная 2
This commit is contained in:
parent
41dc8a4325
commit
a3c081c02a
@ -22,19 +22,19 @@ public class FormTank {
|
|||||||
JButton buttonStrategysStep = new JButton("Шаг");
|
JButton buttonStrategysStep = new JButton("Шаг");
|
||||||
JComboBox ComboBoxStrategy = new JComboBox(new String[]{"к центру", "к краю формочки"});
|
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);
|
JButton up = new JButton(iconUp);
|
||||||
up.setName("up");
|
up.setName("up");
|
||||||
|
|
||||||
Icon iconDown = new ImageIcon("Resources/KeyDown.png");
|
Icon iconDown = new ImageIcon("Tank//Resources//KeyDown.png");
|
||||||
JButton down = new JButton(iconDown);
|
JButton down = new JButton(iconDown);
|
||||||
down.setName("down");
|
down.setName("down");
|
||||||
|
|
||||||
Icon iconRight = new ImageIcon("Resources/KeyRight.png");
|
Icon iconRight = new ImageIcon("Tank//Resources//KeyRight.png");
|
||||||
JButton right = new JButton(iconRight);
|
JButton right = new JButton(iconRight);
|
||||||
right.setName("right");
|
right.setName("right");
|
||||||
|
|
||||||
Icon iconLeft = new ImageIcon("Resources/KeyLeft.png");
|
Icon iconLeft = new ImageIcon("Tank//Resources//KeyLeft.png");
|
||||||
JButton left = new JButton(iconLeft);
|
JButton left = new JButton(iconLeft);
|
||||||
left.setName("left");
|
left.setName("left");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user