Готовая лабораторная работа 3
This commit is contained in:
parent
cfb1286b87
commit
f36e6da08d
@ -38,7 +38,7 @@ public class FormTankCollection {
|
||||
form.buttonSelectTank.addActionListener(
|
||||
new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
if (_tank.Add(form._drawingTank) != -1) {
|
||||
if (_tank.Add(form._drawingVehicle) != -1) {
|
||||
JOptionPane.showMessageDialog(null, "Объект добавлен", "Информация", JOptionPane.INFORMATION_MESSAGE);
|
||||
Draw();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user