Skip to content
Snippets Groups Projects
Commit cb42c241 authored by fabio.rodrigue1's avatar fabio.rodrigue1
Browse files

removed some useless functions

parent 72e8e463
No related branches found
No related tags found
No related merge requests found
......@@ -142,15 +142,6 @@ public class contactMenuController {
App.setRoot("contactShow");
}
@FXML
void closeAppWSave(ActionEvent event) {
}
@FXML
void closeAppWoSave(ActionEvent event) {
System.exit(0);
}
@FXML
void selectMenuType(ActionEvent event) {
......@@ -285,10 +276,6 @@ public class contactMenuController {
}
}
void changeValue(){
System.out.println(" ComboBox.getValue(): " + searchTypeCbx.getValue());
}
public static void showPopup(){
Alert alert = new Alert(Alert.AlertType.CONFIRMATION);
alert.setTitle(popupTitle);
......@@ -300,7 +287,7 @@ public class contactMenuController {
alert.getButtonTypes().setAll(btnOk);
// This allows you to get the response back from the user
Optional<ButtonType> result = alert.showAndWait();
alert.showAndWait();
}
private void addAllContactsToListView(){
......
......@@ -99,11 +99,6 @@ public class contactShowController {
private Classes chosenClass = Classes.NONE;
@FXML
void addContact(ActionEvent event) {
System.out.println("Clicked add");
}
void getContact(){
//System.out.println("Index Contact:"+contactMenuController.selectedIndexCont);
if(contactMenuController.selectedIndexCont >= 0 && contactMenuController.selectedIndexCont < Contact.contact_lst_count){
......@@ -204,8 +199,7 @@ public class contactShowController {
}
@FXML
void cancelAction(ActionEvent event)throws IOException {
//App.setRoot("myApp");
App.changeScene("myApp.fxml");
App.setRoot("myApp");
}
@FXML
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment