neilcsmith-net commented on code in PR #6434:
URL: https://github.com/apache/netbeans/pull/6434#discussion_r1334536995
##########
platform/core.windows/src/org/netbeans/core/windows/ShortcutAndMenuKeyEventProcessor.java:
##########
@@ -297,6 +311,71 @@ private boolean processShortcut(KeyEvent ev) {
return false;
}
+ private void processMouseEvent(MouseEvent mev) {
+ if (mev.getID() != MouseEvent.MOUSE_PRESSED
+ || mev.getButton() <= MouseEvent.BUTTON3
+ || mev.getButton() > 10
Review Comment:
Actually, seeing these two code fragments together shows they're different
ranges anyway! :roll_eyes:
I'll look at adding something like `Utilities.isMouseKeyCode(int keyCode);`
which can be used in the MainMenuAction filter as well.
--
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