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