Готовая лабораторная 3
This commit is contained in:
parent
6468ed2e2b
commit
4680a5586a
@ -105,6 +105,7 @@ public class FormTank {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
buttonCreateTank.addActionListener(
|
buttonCreateTank.addActionListener(
|
||||||
new ActionListener() {
|
new ActionListener() {
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
@ -139,6 +140,7 @@ public class FormTank {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
buttonCreateArmoVehicle.addActionListener(
|
buttonCreateArmoVehicle.addActionListener(
|
||||||
new ActionListener() {
|
new ActionListener() {
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
@ -186,6 +188,7 @@ public class FormTank {
|
|||||||
Draw();
|
Draw();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
up.addActionListener(actioListener);
|
up.addActionListener(actioListener);
|
||||||
down.addActionListener(actioListener);
|
down.addActionListener(actioListener);
|
||||||
left.addActionListener(actioListener);
|
left.addActionListener(actioListener);
|
||||||
|
Loading…
Reference in New Issue
Block a user