neilcsmith-net commented on code in PR #6434:
URL: https://github.com/apache/netbeans/pull/6434#discussion_r1334529461


##########
platform/openide.util.ui/src/org/openide/util/Utilities.java:
##########
@@ -790,6 +790,13 @@ private static synchronized NamesAndValues 
initNameAndValues() {
         values.put(0x290,"MOUSE_WHEEL_UP");
         values.put(0x291,"MOUSE_WHEEL_DOWN");
 
+        for (int button = 4; button < 10; button++) {
+            String name = "MOUSE_BUTTON" + button; // NOI18N
+            int code = 0x292 + (button - 1);
+            names.put(name, code);

Review Comment:
   It's my understanding that check was added because of those keys being added 
to the JDK?  If anything we have the opposite problem and should check if the 
keycode is defined, but that applies to the existing mouse wheel pseudocodes 
already.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to