Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void openForm(IController source, Account account, String path) throws Exception {
- System.out.println(source.getClass().getName() + " is opening " + path);
- FXMLLoader loader = new FXMLLoader(
- source.getClass().getResource(path)
- );
- Stage stage = new Stage();
- Parent root1 = (Parent) loader.load();
- stage.setScene(new Scene(root1));
- loader.<IController>getController().initSessionID(account);
- stage.show();
- }
Add Comment
Please, Sign In to add comment