Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6268437

PIT: Clicking the DisplayMessage triggers Action Event - Must be documented

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ant Anton Tarasov
              Reporter:
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: