United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124321 [macosx] TrayIcon MouseListener is never triggered
JDK-7124321 : [macosx] TrayIcon MouseListener is never triggered

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Closed
Updated Date:
2013-07-12
Project Name:
JDK
Resolved Date:
2012-04-04
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u4 (b18)

Related Reports
Backport:
Relates:

Sub Tasks

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.
                                     
2011-12-23



Hardware and Software, Engineered to Work Together