GUI fehler behoben

master
Maximilian 2024-06-13 13:28:04 +02:00
parent a21089f833
commit e67a2be822
3 changed files with 22 additions and 1 deletions

22
.vscode/launch.json vendored 100644
View File

@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Main",
"request": "launch",
"vmArgs": "--module-path C:/Sources/javafx-sdk-22.0.1/lib --add-modules javafx.controls,javafx.fxml",
"mainClass": "program.Main",
"projectName": "Pegasus_606a3a68"
}
]
}

Binary file not shown.

View File

@ -47,7 +47,6 @@ public class HomeScreen {
vbox.setStyle("-fx-background-color: #E6F2FF;");
Scene scene = new Scene(vbox, 600, 400);
scene.getStylesheets().add(getClass().getResource("/resources/style.css").toExternalForm());
stage.setScene(scene);
stage.setTitle("Fluglogbuch");