It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
                            
                        
                    
                
                                6年前关闭。
            
                    
当用户单击带有trayIcon.displayMessage()从TrayIcon弹出的气球消息时,我想自动执行操作。

这可能吗?

最佳答案

您可以将ActionListener添加到Message in SystemTray
for examplehere

10-02 05:56