This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
task-manager-app/Task_Managment_application/src/Main.java
2016-06-01 22:49:01 -07:00

37 lines
660 B
Java

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;
}
}