Skip to content
Snippets Groups Projects
ScheduleApp.java 676 B
Newer Older
eyan_'s avatar
eyan_ committed
package com.example.schedulerapp;

import javafx.application.Application;
eyan_'s avatar
eyan_ committed
import javafx.fxml.FXMLLoader;
eyan_'s avatar
eyan_ committed
import javafx.scene.Scene;
import javafx.scene.control.Label;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;

public class ScheduleApp extends Application {
    @Override
    public void start(Stage stage) throws Exception {
Mitch Cumpstone (cmc408)'s avatar
Mitch Cumpstone (cmc408) committed
        FXMLLoader fxmlLoader = new FXMLLoader(ScheduleApp.class.getResource("login.fxml"));
        Scene scene = new Scene(fxmlLoader.load(),800,600);
        stage.setTitle("Scheduler App");
eyan_'s avatar
eyan_ committed
        stage.setScene(scene);
        stage.show();
    }

    public static void main(String[] args) {
        launch();
    }
}