Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

User is able to open the JavaFx application more than once

Tags:

java

maven

javafx

  • I devlop one javafx application.
  • And i am deploying that application as native installer which is created with the help of javafx-maven-plugin.
  • but after the application is install i am getting problem is that "User is able to open the application more than once".
  • so there is any solution in program(code of application) or maven-plugin to run only single instance of application.
like image 300
Anvay Avatar asked Dec 10 '25 05:12

Anvay


1 Answers

There is a JUnique library, this helps the developer to restrict the instantiation of java class component. Please read the documentation -- JUnique Documentation

like image 175
shambhu Avatar answered Dec 12 '25 17:12

shambhu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!