Search code examples
javaswingawtsystem-traytrayicon

How can I listen to clicks on a message of TrayIcon


I want to automatically do an action when the user clicks the balloon message which I pop from a TrayIcon with trayIcon.displayMessage().

Is this possible?


Solution