add ui view

This commit is contained in:
Sherwin Price
2025-12-22 20:58:10 -05:00
parent a89b720dc4
commit 491e64612f
10 changed files with 151 additions and 1 deletions
@@ -0,0 +1,27 @@
package edu.inventorym;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class ApplicationView extends Application {
@Override
public void start(Stage primaryStage) {
try {
primaryStage.setTitle("Lodge ReservationSystem");
Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("mainViewModel.fxml"));
Scene scene = new Scene(root, 800, 600);
primaryStage.setScene(scene);
primaryStage.show();
} catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
launch(args);
}
}