Изменил(а) на 'FormMapWithSetBattleship.java'
This commit is contained in:
parent
7384aa9514
commit
79c31bbb8b
@ -54,8 +54,8 @@ public class FormMapWithSetBattleship extends JComponent {
|
|||||||
statusPanel.add(mapSelectComboBox);
|
statusPanel.add(mapSelectComboBox);
|
||||||
|
|
||||||
|
|
||||||
JButton addAirbusButton = new JButton("Добавить корабль");
|
JButton addBattleshipButton = new JButton("Добавить корабль");
|
||||||
addAirbusButton.addActionListener(e -> {
|
addBattleshipButton.addActionListener(e -> {
|
||||||
|
|
||||||
if (_mapBattleshipsCollectionGeneric == null)
|
if (_mapBattleshipsCollectionGeneric == null)
|
||||||
{
|
{
|
||||||
@ -77,7 +77,7 @@ public class FormMapWithSetBattleship extends JComponent {
|
|||||||
JOptionPane.showMessageDialog(form, "Объект не добавлен", "Добавление", JOptionPane.OK_CANCEL_OPTION);
|
JOptionPane.showMessageDialog(form, "Объект не добавлен", "Добавление", JOptionPane.OK_CANCEL_OPTION);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
statusPanel.add(addAirbusButton);
|
statusPanel.add(addBattleshipButton);
|
||||||
|
|
||||||
JFormattedTextField maskedTextFieldPosition = null;
|
JFormattedTextField maskedTextFieldPosition = null;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user