Add oving0
This commit is contained in:
21
src/main/java/oving0/todolist/fxui/TodoApp.java
Normal file
21
src/main/java/oving0/todolist/fxui/TodoApp.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package oving0.todolist.fxui;
|
||||
|
||||
import javafx.application.Application;
|
||||
import javafx.fxml.FXMLLoader;
|
||||
import javafx.scene.Parent;
|
||||
import javafx.scene.Scene;
|
||||
import javafx.stage.Stage;
|
||||
|
||||
public class TodoApp extends Application {
|
||||
|
||||
@Override
|
||||
public void start(Stage stage) throws Exception {
|
||||
Parent parent = FXMLLoader.load(getClass().getResource("Todo.fxml"));
|
||||
stage.setScene(new Scene(parent));
|
||||
stage.show();
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
launch(TodoApp.class, args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user