diff --git a/ProjectAirFighter/src/main/java/com/projectairfighter/FormWarPlaneCollection.java b/ProjectAirFighter/src/main/java/com/projectairfighter/FormWarPlaneCollection.java index 8204de1..525982e 100644 --- a/ProjectAirFighter/src/main/java/com/projectairfighter/FormWarPlaneCollection.java +++ b/ProjectAirFighter/src/main/java/com/projectairfighter/FormWarPlaneCollection.java @@ -192,7 +192,7 @@ public class FormWarPlaneCollection extends Application implements Initializable } @FXML - void ButtonCollectionAdd(ActionEvent event) { + void buttonCollectionAdd(ActionEvent event) { if (textFieldCollectionName.getText().isEmpty() || (!radioButtonList.isSelected() && !radioButtonMassive.isSelected())) { showError("Не все данные заполнены"); return; @@ -210,7 +210,7 @@ public class FormWarPlaneCollection extends Application implements Initializable } @FXML - void ButtonCollectionDel(ActionEvent event) { + void buttonCollectionDel(ActionEvent event) { if (listViewCollection.getSelectionModel().getSelectedIndex() < 0 || listViewCollection.getSelectionModel().getSelectedItem() == null) { showError("Коллекция не выбрана"); return; @@ -238,7 +238,7 @@ public class FormWarPlaneCollection extends Application implements Initializable } @FXML - void ButtonCreateCompany(ActionEvent event) { + void buttonCreateCompany(ActionEvent event) { if (listViewCollection.getSelectionModel().getSelectedIndex() < 0 || listViewCollection.getSelectionModel().getSelectedItem() == null) { showAlert("Коллекция не выбрана"); return; diff --git a/ProjectAirFighter/src/main/resources/com/projectairfighter/FormWarPlaneCollection.fxml b/ProjectAirFighter/src/main/resources/com/projectairfighter/FormWarPlaneCollection.fxml index f5b15fd..ffa9aad 100644 --- a/ProjectAirFighter/src/main/resources/com/projectairfighter/FormWarPlaneCollection.fxml +++ b/ProjectAirFighter/src/main/resources/com/projectairfighter/FormWarPlaneCollection.fxml @@ -20,8 +20,8 @@ -