dustinkredmond / FXTrayIcon

Tray Icon implementation for JavaFX applications. Say goodbye to using AWT's SystemTray icon, instead use a JavaFX Tray Icon.
MIT License
324 stars 25 forks source link

Popup without sound #38

Closed PULSO-Gloves closed 2 years ago

PULSO-Gloves commented 2 years ago

Can we do this?

dustinkredmond commented 2 years ago

@PULSO-Gloves unfortunately, this is not possible by using the FXTrayIcon library, as it just calls built-in AWT and JavaFX methods. You would have to research whether AWT and/or JavaFX allow this, but I would guess that this is handled by the desktop environment of whatever operating system you are using.

EasyG0ing1 commented 2 years ago

@PULSO-Gloves You might be able to assign an event listener of some kind to the TrayIcon then fire off an audio file when the event is triggered... but I'm only making an educated guess without any attempt at trying it myself.