--- a/jdk/src/solaris/classes/sun/awt/motif/MToolkit.java Thu May 21 15:04:23 2009 +0400
+++ b/jdk/src/solaris/classes/sun/awt/motif/MToolkit.java Fri May 22 16:09:45 2009 +0400
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -624,7 +624,6 @@
}
private native int getMulticlickTime();
- private native int getNumMouseButtons();
protected void initializeDesktopProperties() {
desktopProperties.put("DnD.Autoscroll.initialDelay", Integer.valueOf(50));
@@ -643,7 +642,7 @@
desktopProperties.put("awt.multiClickInterval",
Integer.valueOf(getMulticlickTime()));
desktopProperties.put("awt.mouse.numButtons",
- Integer.valueOf(getNumMouseButtons()));
+ Integer.valueOf(getNumberOfButtons()));
}
}