JDK-6268437 : PIT: Clicking the DisplayMessage triggers Action Event - Must be documented
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-11
  • Updated: 2017-12-02
  • Resolved: 2017-12-02
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
I am calling TrayIcon.displayMessage() and a message gets displayed. Clicking the display message triggers an ActionEvent on all the platforms. This is not documented anywhere. API spec for DisplayMessage says that the message would disappear when the user clicks it. It does not say that it would trigger an ActionEvent.

This is reproducible on WinXP as well as SolSparc10-JDS.

Run the attached test and click the DISPLAY MESSAGE button. Once the message appears, click on the message. You would see an ActionEvent on the console.
###@###.### 2005-05-11 06:55:51 GMT

Comments
Was fixed in JDK-6271569
02-12-2017

EVALUATION Clicking the display message does not trigger ActionEvent on Win2000 and looks like Win2000 does not support this functionality. Hence the specification must clearly state that this functionality may not be supported on all platforms. See the evaluation of 6303746 for more information.
17-08-2005

EVALUATION Probably we should include in into 6271569 "SystemTray API requires update and enhancement on some points" RFE. ###@###.### 2005-05-27 07:45:21 GMT
27-05-2005