United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7124382 [macosx] Property sun.awt.enableExtraMouseButtons is always 'false'
JDK-7124382 : [macosx] Property sun.awt.enableExtraMouseButtons is always 'false'

Details
Type:
Bug
Submit Date:
2011-12-23
Status:
Closed
Updated Date:
2012-09-25
Project Name:
JDK
Resolved Date:
2012-02-28
Component:
client-libs
OS:
os_x
Sub-Component:
java.awt
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
7u4 (b11)

Related Reports

Sub Tasks

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



Hardware and Software, Engineered to Work Together