import javafx.application.Application; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { private static Stage stage; public static void main(String [] args) { launch(); } @Override public void start(Stage stage) throws Exception { set_stage(stage); Account_Module account_mod = new Account_Module(); Scene account_scene = new Scene(account_mod); stage.sizeToScene(); stage.setScene(account_scene); stage.setTitle("Task Manager Application"); stage.show(); } public static Stage get_stage() { return stage; } public void set_stage(Stage stage) { this.stage = stage; } }