Advertisement
Guest User

Untitled

a guest
Feb 27th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.60 KB | None | 0 0
  1. package homePage;
  2.  
  3. import javafx.event.ActionEvent;
  4. import javafx.fxml.FXMLLoader;
  5. import javafx.scene.Parent;
  6. import javafx.scene.Scene;
  7. import javafx.stage.Stage;
  8.  
  9. import java.io.IOException;
  10.  
  11. public class Controller {
  12.     public void generateProtokol(ActionEvent actionEvent) throws IOException {
  13.        // FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("generateProtokol.fxml"));
  14.        // Parent root1 =  fxmlLoader.load();
  15.         Stage stage = new Stage();
  16.         stage.setTitle("Generate protokol");
  17.        // stage.setScene(new Scene(root1));
  18.         stage.show();
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement