diff --git a/Tank/src/FormTankCollection.java b/Tank/src/FormTankCollection.java index aafb79b..ee99d3f 100644 --- a/Tank/src/FormTankCollection.java +++ b/Tank/src/FormTankCollection.java @@ -175,6 +175,7 @@ public class FormTankCollection { public void actionPerformed(ActionEvent e) { if (Queue.size() == 0) { JOptionPane.showMessageDialog(null, "Нет удалённых", "Информация", JOptionPane.INFORMATION_MESSAGE); + logger.info("Нет удалённых объектов"); return; } FormTank form = new FormTank();