United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-6268437 : PIT: Clicking the DisplayMessage triggers Action Event - Must be documented

Details
Type:
Bug
Submit Date:
2005-05-11
Status:
Open
Updated Date:
2011-04-28
Project Name:
JDK
Resolved Date:
Component:
client-libs
OS:
generic
Sub-Component:
java.awt
CPU:
generic
Priority:
P4
Resolution:
Unresolved
Affected Versions:
6
Targeted Versions:

Related Reports
Relates:
Relates:

Sub Tasks

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
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
                                     
2005-05-27
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.
                                     
2005-08-17



Hardware and Software, Engineered to Work Together