Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4559047
Votes 1
Synopsis Solaris & Linux do not set awt.multiClickInterval desktop property
Category java:classes_awt
Reported Against merlin-rc1
Release Fixed 1.4.2(mantis)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4229528
Submit Date 07-DEC-2001
Description
The following code prints the double click time when run on Win32, but always prints null on Solaris and Linux:

import java.awt.*;

public class MultiClickTime {
    public static void main(String[] args) {
        System.out.println("awt.multiClickInterval: " + Toolkit.getDefaultToolkit().getDesktopProperty("awt.multiClickInterval"));
    }
}

See also bug 4229528.
Work Around
N/A
Evaluation
Fixing this is way easy.  It should go into hopper & tiger.
 xxxxx@xxxxx  2001-12-07

Easy fix - the multiclick time is already stored in awt_multiclick_time in awt_MToolkit.c.  It's just a matter of pushing it up into a Desktop Property.
 xxxxx@xxxxx  2002-06-10
Comments
  
  Include a link with my name & email   

Submitted On 12-JUL-2008
On Mac OS X, this property is also null.



PLEASE NOTE: JDK6 is formerly known as Project Mustang