How can we verify that the javaFx application is already running?

Is there any way to check if our javaFx application is working. If so, show the existing application instance, otherwise start a new instance.

+4
source share
1 answer

Well, I'm sure there is probably a better solution, but when I ran into the problem, I just made a boolean that would change after the start method started, if it were false by default.

-2
source

All Articles