Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package homePage;
- import javafx.event.ActionEvent;
- import javafx.fxml.FXMLLoader;
- import javafx.scene.Parent;
- import javafx.scene.Scene;
- import javafx.stage.Stage;
- import java.io.IOException;
- public class Controller {
- public void generateProtokol(ActionEvent actionEvent) throws IOException {
- // FXMLLoader fxmlLoader = new FXMLLoader(getClass().getResource("generateProtokol.fxml"));
- // Parent root1 = fxmlLoader.load();
- Stage stage = new Stage();
- stage.setTitle("Generate protokol");
- // stage.setScene(new Scene(root1));
- stage.show();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement