package database; import java.net.URL; import java.util.ResourceBundle; import javafx.event.ActionEvent; import javafx.fxml.FXML; import javafx.fxml.Initializable; import javafx.scene.control.Button; import javafx.stage.Stage; /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author lana */ public class RemoveInstructorController implements Initializable { @FXML public Button cancelRemoveButton; public Button okRemoveButton; Stage stage; public void setStage(Stage stage) { this.stage = stage; } @FXML private void onCancelRemoveInstrButton(ActionEvent event) { stage.close(); } @FXML private void onRemoveInstrOkButton(ActionEvent event) { //delete instructor from table view stage.close(); } @Override public void initialize(URL url, ResourceBundle rb) { //To change body of generated methods, choose Tools | Templates. } }