1 | static void onMouseUp(final Component c, fO r) { |
2 | if (c != null) swing { |
3 | c.addMouseListener(new MouseAdapter { |
4 | public void mouseReleased(MouseEvent e) { |
5 | if (e.getButton() == MouseEvent.BUTTON1) |
6 | pcallF(r); |
7 | } |
8 | }); |
9 | } |
10 | } |
Began life as a copy of #1018604
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018605 |
Snippet name: | onMouseUp (left button only) |
Eternal ID of this version: | #1018605/1 |
Text MD5: | 35af7656fc027ca922b7927e1679b4ae |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-07 16:00:58 |
Source code size: | 264 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 307 / 357 |
Referenced in: | [show references] |