Also, I added an option to disable the default feature where (on the Mac at least) when you right-click on the icon, it shows the stage. This makes it impossible to add a right-click mouse event listener on trayIcon and then have it do whatever is needed. So by engaging noDefaultAction() from the Builder class or from the main class, the desired behavior can be achieved.
Also, I added an option to disable the default feature where (on the Mac at least) when you right-click on the icon, it shows the stage. This makes it impossible to add a right-click mouse event listener on trayIcon and then have it do whatever is needed. So by engaging
noDefaultAction()
from the Builder class or from the main class, the desired behavior can be achieved.