diff --git a/src/main/java/team/elrant/bubbles/gui/LoginApplication.java b/src/main/java/team/elrant/bubbles/gui/LoginApplication.java index 24a044a..d9f9ac6 100644 --- a/src/main/java/team/elrant/bubbles/gui/LoginApplication.java +++ b/src/main/java/team/elrant/bubbles/gui/LoginApplication.java @@ -4,12 +4,13 @@ import javafx.fxml.FXMLLoader; import javafx.scene.Scene; import javafx.stage.Stage; + import java.io.IOException; public class LoginApplication extends Application { @Override public void start(@org.jetbrains.annotations.NotNull Stage stage) throws IOException { - FXMLLoader fxmlLoader = new FXMLLoader(LoginApplication.class.getResource("login-view.fxml")); + FXMLLoader fxmlLoader = new FXMLLoader(LoginApplication.class.getResource("/login-view.fxml")); Scene scene = new Scene(fxmlLoader.load(), 320, 240); stage.setTitle("Login"); stage.setScene(scene); diff --git a/src/main/resources/login-view.fxml b/src/main/resources/login-view.fxml new file mode 100644 index 0000000..ae78d9c --- /dev/null +++ b/src/main/resources/login-view.fxml @@ -0,0 +1,27 @@ + + + + + + + + + + + + +