gui updates

This commit is contained in:
2025-10-01 14:42:41 -04:00
parent 3fbc82fa94
commit 8b4803ac14
16 changed files with 64 additions and 2 deletions

25
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,25 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "☕ TestMainFx",
"request": "launch",
"mainClass": "lodge.TestMainFx",
"projectName": "reservationsystem",
"vmArgs": " --module-path ./libs:. --add-modules ALL-MODULE-PATH --enable-native-access=javafx.graphics -Dcom.sun.management.jmxremote=false -Djava.awt.headless=true -XX:+DisableAttachMechanism",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal"
},
{
"type": "java",
"name": "☕ main",
"request": "launch",
"mainClass": "lodge.main",
"projectName": "reservationsystem",
"vmArgs": "-Dcom.sun.management.jmxremote=false -Djava.awt.headless=true -XX:+DisableAttachMechanism",
"cwd": "${workspaceFolder}",
"console": "integratedTerminal"
}
]
}

View File

@@ -9,8 +9,12 @@
plugins {
id 'java'
id 'application'
id 'org.openjfx.javafxplugin' version '0.1.0'
}
group = 'lodge'
version = '1.0'
// Apply a specific Java toolchain to ease working on different environments.
java {
toolchain {
@@ -42,10 +46,20 @@ repositories {
fileTree(dir:'libs', include:'*.jar')
}
javafx {
modules = [ 'javafx.controls', 'javafx.fxml' ]
}
dependencies {
//https://mvnrepository.com/artifact/com.google.code.gson/gson
implementation 'com.google.code.gson:gson:2.13.2'
implementation 'org.openjfx:javafx-base:24.0.1'
implementation 'org.openjfx:javafx-fxml:24.0.1'
implementation 'org.openjfx:javafx-controls:24.0.1'
implementation 'org.openjfx:javafx-graphics:24.0.1'
implementation 'org.openjfx:javafx-web:24.0.1'
}
jar {

Binary file not shown.

BIN
libs/javafx-base-24.0.1.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
libs/javafx-fxml-24.0.1.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
libs/javafx-web-24.0.1.jar Normal file

Binary file not shown.

View File

@@ -2,4 +2,4 @@ Manifest-Version: 1.0
Main-Class: lodge.TestReservations
Implementation-Title: lodge.reservationsystem
Implementation-Version: 1.0
Class-Path: lodge.reservationsystem com.google.gson .
Class-Path: lodge.reservationsystem com.google.gson avafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web .

View File

@@ -0,0 +1,23 @@
package lodge;
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.stage.Stage;
import javafx.scene.control.Label;
import javafx.scene.layout.StackPane;
public class TestMainFx extends Application{
@Override
public void start(Stage primaryStage) {
primaryStage.setTitle("Lodge ReservationSystem");
Scene scene = new Scene(new StackPane(new Label("Hello World!")), 800, 600);
primaryStage.setScene(scene);
primaryStage.show();
}
public static void main(String[] args) {
launch(args);
}
}

View File

@@ -1 +1 @@
{ "Account":{"account_number": "A45098176","phone_number": "701-456-7890","mailing_address": { "Address":{"street": "10 wilco ave","city": "wilco","state": "WY","zip": "82801"}},"email_address": { "EmailAddress":{"email": "wilco@wyommin.net"}},"reservations":[]}}
{ "Account":{"account_number": "A45098176","phone_number": "701-456-7890","mailing_address": { "Address":{"street": "10 wilco ave","city": "wilco","state": "WY","zip": "82801"}},"email_address": { "EmailAddress":{"email": "wilco@wyommin.net"}},"reservations":[{"CabinReservation":{"reservation_number":"R0535276622"}},{"HouseReservation":{"reservation_number":"R0499811708"}}]}}