On May 27, 2005, at 3:04 PM, Elliott Hughes wrote:
i think this is deliberate (if misguided). i can't remember where i
read
it, but the rationale was something along the lines of "the user
can swap
mouse at any time, so the number of mouse buttons isn't constant".
Gee, if it isn't a constant maybe they could have some sort of method
that you can call at runtime to get the value...
Seriously, if the excuse printed is the actual reason it isn't
implemented, someone needs a kick in the ***.
Not that I think the Sun API is great.. they should have simply
allowed you to enumerate the pointing devices in the system and call
getNumberOfButtons() on each one...(along with keyboards and game
controllers and other popular devices - see the JInput project on
java.net for an alternative) ...it shouldn't be a static method. But
that is no excuse to not implement it on a Mac... since the excuses
given apply to the systems that run Sun's JRE as well.
Scott
_______________________________________________
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