JDK-7124382 : [macosx] Property sun.awt.enableExtraMouseButtons is always 'false'
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2011-12-23
  • Updated: 2015-02-27
  • Resolved: 2012-02-28
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
7u4 b11Fixed
Description
http://java.net/jira/browse/MACOSX_PORT-296 submitted 2011/08/18 by Taras Ledkov
Please take a look tests (regression):
java/awt/Toolkit/ToolkitPropertyTest/SystemPropTest_1.java
java/awt/Toolkit/ToolkitPropertyTest/SystemPropTest_2.java
java/awt/Toolkit/ToolkitPropertyTest/SystemPropTest_4.java
java/awt/Toolkit/ToolkitPropertyTest/ToolkitPropertyTest_Enable.java
These check value of  sun.awt.enableExtraMouseButtons property (by default, set by cmd line, changed System class API, etc).
Property value is 'false' in any cases.
Build: b203
Keywords: test-fail-macos

Comments
EVALUATION Author: Taras Ledkov Date: 31/Aug/11 02:40 PM Tests (JCK-runtime): api/java_awt/Toolkit/indexTGF3_AreExtraMouseButtonsEnabledBeforeToolkitInit_true api/java_awt/Toolkit/indexTGF4_AreExtraMouseButtonsEnabledTrueByDefault Build: b204 Keywords: test-fail-macos Author: Alexander Potochkin Date: 10/Nov/11 05:02 PM Toolkit.areExtraMouseButtonsEnabled() specifies the following: .If not set by the time of the {@code Toolkit} class initialization, this property will be .initialized with {@code true}.Taking into consideration the "@since 1.7" tag, it means that we have to support extra mouse buttons in JDK 7. Reassigning to the expert in mouse events.
23-12-2011