-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
6
-
generic
-
generic
I have added an AWTEventListener to the Toolkit to listen to all the Window events. I am surprised to see lot of WindowActivated /DeActivated, Window Focus events being triggered when I click on the TrayIcon. My application has only one frame and it looks like the source of these events is not the frame that I have created. This is seen on Win32 as well as SolarisSparc10 with all Mustang builds. You can notice it well especially when the popup menu added to the tray icon gets opened and disposed.
The spec does not say anything about the WindowEvents. I am not quite sure whether these events must be allowed to be listened through AWTEventListener.
I have attached a sample test that reproduces this bug.
The spec does not say anything about the WindowEvents. I am not quite sure whether these events must be allowed to be listened through AWTEventListener.
I have attached a sample test that reproduces this bug.
- relates to
-
JDK-6270561 PIT: TrayIcon triggers MouseEvents for canvas when listened thro' AWTEventListener, XToolkit
-
- Open
-