Home » Java » java – Pause/hide JavaFX app after launching from another class and resuming/showing the app later-Exceptionshub

java – Pause/hide JavaFX app after launching from another class and resuming/showing the app later-Exceptionshub

Posted by: admin February 25, 2020 Leave a comment

Questions:

I have a java command line app that at some point launches a JavaFX app. I need to pause it or hide it, do some work, and then show the app again. I’m launching the app like so:

Application.launch(GatherInputGui.class);

… and since I can do that only once, I wonder what my options are to show it again.

Could I set/update a system property and have the JavaFX app observe it and react to the prop change?

How to&Answers: