JDK-7124321 : [macosx] TrayIcon MouseListener is never triggered
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2011-12-23
  • Updated: 2013-07-12
  • Resolved: 2012-04-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8
7u4 b18Fixed 8Fixed
Related Reports
Relates :  
Description
http://java.net/jira/browse/MACOSX_PORT-592 submitted 2011/10/20 by Frank Kline
MouseListener is never triggered by clicks on the TrayIcon (MouseListener works properly on Oracle-released JRE7 for Linux and Windows).
<div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;><div class=&quot;codeContent panelContent&quot;><pre class=&quot;code-java&quot;>...SystemTray tray = SystemTray.getSystemTray();trayIcon = <span class=&quot;code-keyword&quot;>new</span> TrayIcon(trayImage);trayIcon.addMouseListener(listener);tray.add(trayIcon);...</pre>

Comments
EVALUATION Not implemented yet.
23-12-2011