JDK-4229528 : Need double-click time
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.1.7
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • OS: generic
  • CPU: generic
  • Submitted: 1999-04-14
  • Updated: 2001-12-07
  • Resolved: 2001-12-07
Related Reports
Relates :  
Description

Name: vi73552			Date: 04/14/99


There is no way to retrieve the double-click timeout (i.e. the maximum time interval between consecutive clicks that causes a double-click event) from Java.  On Windows NT, a Java application appears to use the timeout set in the operating system, and there is no way to retrieve this value.
(Review ID: 56969) 
======================================================================

Comments
EVALUATION commit to merlin. xianfa.deng@Eng 2000-01-20 In 1.4, there is a new desktop property called awt.multiClickInterval, which can be used to obtain the desired value. Like so: Toolkit.getDefaultToolkit().getDesktopProperty("awt.multiClickInterval")); It turns out that this property is only set on Windows. Solaris and Linux both return null. I've opened a new bug, 4559047, to address this problem. ###@###.### 2001-12-07
07-12-2001