Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameters are not passed to the launched application #1

Closed
countfloyd opened this issue Feb 20, 2016 · 1 comment
Closed

Parameters are not passed to the launched application #1

countfloyd opened this issue Feb 20, 2016 · 1 comment

Comments

@countfloyd
Copy link

If I want parameters passed to the launched application, I can pass them to fxlauncher.Launcher but it doesn't pass them through.

I solved this by adding this line before the app.start(primaryStage); in Launcher.java:

ParametersImpl.registerParameters(app, getParameters());

I know this uses a com.sun class but I didn't see any other way to do it.

@edvin
Copy link
Owner

edvin commented Feb 20, 2016

Thanks for reporting and suggesting a workaround. I can't see any other way either, so I will include this in the upcoming 1.0.7 release.

@edvin edvin closed this as completed Feb 20, 2016
edvin pushed a commit that referenced this issue Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants