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 Fri, 2005-05-27 at 10:36 -0400, Scott Palmer wrote:
> On May 27, 2005, at 9:40 AM, Cameron Hayne wrote:

> > 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.
> 
> I remember seeing that in the release notes and thinging, "That's  
> just dumb."  An implementation that seems much more reasonable would  

I agree. That's a strange excuse. Most UNIXes and Windows also support
multiple mice. My laptop has a trackpad, one of those nipple dealies in
the middle of the keyboard, and an external USB mouse. 

Does this mean that no VM vendor should support this functionality? 

I could see how this would be a thorn in the side of folks who are
writing cross-platform Accessability-aware applications where pointing
devices might come in strange & unusual forms. I could also see how this
might be a thorn in the side of folks who are trying to write really
neat cross-platform games in Java that take full advance of the
available input devices.

sm


 _______________________________________________
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>)
 >Re: Mouse class bug? (From: Cameron Hayne <email@hidden>)
 >Re: Mouse class bug? (From: Scott Palmer <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.