-
Bug
-
Resolution: Unresolved
-
P4
-
5.0
-
Fix Understood
-
sparc
-
solaris_2.6
Name: sdR10048 Date: 07/31/2003
Filed By : SPB JCK team (###@###.###)
JDK : java full version "1.5.0-beta-b12"
JCK : 1.5
Platform[s] : Solaris
Specification excerpt:
======================
--------- J2SE API spec v.1.5 ---------
...
public static int getDragThreshold()
Returns the drag gesture motion threshold. The drag gesture motion threshold
defines the recommended behavior for MouseDragGestureRecognizers.
If the system property awt.dnd.drag.threshold is set to a positive integer,
this method returns the value of the system property; otherwise if a pertinent
desktop property is available and supported by the implementation of the Java
platform, this method returns the value of that property; otherwise this method
returns some default value. The pertinent desktop property can be queried using
java.awt.Toolkit.getDesktopProperty("DnD.gestureMotionThreshold").
Returns:
the drag gesture motion threshold
...
---------- end-of-excerpt ---------------
Problem description
===================
The problem is with
'The pertinent desktop property can be queried using
java.awt.Toolkit.getDesktopProperty("DnD.gestureMotionThreshold").'
The designated method getDesktopProperty(String) returns Object.
In our case it is unclear which object is this: Integer or String
(or may be something else) since we expect integer value.
That needed for JCK test development.
Currently JDK RI returns an Integer object.
======================================================================
- relates to
-
JDK-4257139 Toolkit.getDesktopProperty spec should say which properties are accessible
-
- Closed
-
-
JDK-4809533 java.awt.Toolkit property types not documented
-
- Closed
-
-
JDK-4415175 No easy way to globally change the DND gesture motion threshold
-
- Resolved
-