import javafx.application.*;
import javafx.scene.*;
import javafx.stage.*;

public class LoginFX extends Application {
    @Override
    public void start(Stage stage) throws IOException {
        Parent root = FXMLLoader.load(getClass().getResource("dialog.fxml"));
        stage.setScene(new Scene(root));
        stage.show();
    }
}