Transpiled version (5060L) is out of date.
static AutoCloseable tempAddPopupButtonListener(IVF1<MouseEvent> onEvent) { if (onEvent == null) null; ret tempAddGlobalMouseListener(evt -> { if (evt.getID() == MouseEvent.MOUSE_PRESSED && isNotLeftMouseButton(evt)) onEvent.get(evt); }); }
Began life as a copy of #1020885
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034617 |
Snippet name: | tempAddPopupButtonListener - add a global AWT popup menu mouse button listener |
Eternal ID of this version: | #1034617/6 |
Text MD5: | 02496289c8f93b1373973f351f46ef94 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-11 22:50:49 |
Source code size: | 269 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 207 / 280 |
Version history: | 5 change(s) |
Referenced in: | [show references] |