Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1018605 // onMouseUp (left button only)

JavaX fragment (include)

static void onMouseUp(final Component c, fO r) {
  if (c != null) swing {
    c.addMouseListener(new MouseAdapter {
      public void mouseReleased(MouseEvent e) {
        if (e.getButton() == MouseEvent.BUTTON1)
          pcallF(r);
      }
    });
  }
}

Author comment

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: 228 / 277
Referenced in: [show references]