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


##########
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++) {

Review Comment:
   I deliberately used the same "magic constants" approach that is already in 
use for `0x290` and `0x291` in the editor.  If we do want to move to an API, 
then these should be functions, as the values might have to change in future.  
And we should look at doing the same for the existing editor support.



-- 
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