Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mouse class bug?



On 27-May-05, at 9:28 AM, Elliotte Harold wrote:

System.out.println(java.awt.MouseInfo.getNumberOfButtons());

On the Apple page <http://developer.apple.com/releasenotes/Java/ Java50RN/2_ResolvedIssues/chapter_3_section_3.html>, I see the following:
-------------------------
Radar #4008177
MouseInfo.getNumberOfButtons Return Values


Description:

MouseInfo.getNumberOfButtons is a new class in J2SE 5.0 that returns information about the number of mouse buttons.

Resolution:

Because Mac OS X can have multiple mice connected and in use, as well as using Universal Preferences instead of the mouse, MouseInfo.getNumberOfButtons is generally inapplicable. Thus, it always returns 0.

----------------------------


-- Cameron Hayne email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Mouse class bug? (From: Elliotte Harold <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.