Готовая лабораторная 3

This commit is contained in:
Никита Белянин 2023-11-12 22:19:57 +04:00
parent 6468ed2e2b
commit 4680a5586a

View File

@ -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);