From 79c31bbb8bef0b3e31d34c8a3d56716b652c4ae8 Mon Sep 17 00:00:00 2001 From: Zhelovanov_Dmitrii Date: Thu, 22 Dec 2022 22:07:19 +0400 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'FormMapWithSetBattleship.java'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FormMapWithSetBattleship.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FormMapWithSetBattleship.java b/FormMapWithSetBattleship.java index 63d827f..bb9db36 100644 --- a/FormMapWithSetBattleship.java +++ b/FormMapWithSetBattleship.java @@ -54,8 +54,8 @@ public class FormMapWithSetBattleship extends JComponent { statusPanel.add(mapSelectComboBox); - JButton addAirbusButton = new JButton("Добавить корабль"); - addAirbusButton.addActionListener(e -> { + JButton addBattleshipButton = new JButton("Добавить корабль"); + addBattleshipButton.addActionListener(e -> { if (_mapBattleshipsCollectionGeneric == null) { @@ -77,7 +77,7 @@ public class FormMapWithSetBattleship extends JComponent { JOptionPane.showMessageDialog(form, "Объект не добавлен", "Добавление", JOptionPane.OK_CANCEL_OPTION); } }); - statusPanel.add(addAirbusButton); + statusPanel.add(addBattleshipButton); JFormattedTextField maskedTextFieldPosition = null; try {