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