SUGGESTED FIX
------- awt_MToolkit.c -------
*** /tmp/dBFa4pS Mon Jun 10 15:20:02 2002
--- awt_MToolkit.c Fri Jun 7 17:02:57 2002
***************
*** 2865,2870 ****
--- 2865,2880 ----
}
}
+ /*
+ * Class: sun_awt_motif_MToolkit
+ * Method: getMulticlickTime
+ * Signature: ()I
+ */
+ JNIEXPORT jint JNICALL Java_sun_awt_motif_MToolkit_getMulticlickTime
+ (JNIEnv *env, jobject this)
+ {
+ return awt_multiclick_time;
+ }
/*
* Returns true if the current thread is privileged. Currently,
------- MToolkit.java -------
*** /tmp/dPCaOqS Mon Jun 10 15:20:18 2002
--- MToolkit.java Fri Jun 7 17:03:48 2002
***************
*** 557,562 ****
--- 557,565 ----
return new Boolean(nativeDynamic);
}
+ private native int getMulticlickTime();
+
+
protected void initializeDesktopProperties() {
desktopProperties.put("DnD.Autoscroll.initialDelay", new Integer(50));
desktopProperties.put("DnD.Autoscroll.interval", new Integer(50));
***************
*** 568,573 ****
--- 571,579 ----
* a wheel mouse or not.
*/
//desktopProperties.put("awt.wheelMousePresent", new Boolean(false));
+
+ desktopProperties.put("awt.multiClickInterval",
+ new Integer(getMulticlickTime()));
}
public RobotPeer createRobot(Robot target, GraphicsDevice screen) {
###@###.### 2002-06-10
|