PIbd-21 Belianin N.N. LabWork03 Hard #4
@ -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