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

8
LINES

< > BotCompany Repo | #1009663 // leftClickMouseAdapter

JavaX fragment (include)

1  
static MouseAdapter leftClickMouseAdapter(fO r) {
2  
  ret new MouseAdapter {
3  
    public void mouseClicked(MouseEvent e) {
4  
      if (e.getButton() == 1)
5  
        pcallF(r, new Pt(e.getPoint()));
6  
    }
7  
  };
8  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009663
Snippet name: leftClickMouseAdapter
Eternal ID of this version: #1009663/2
Text MD5: 093d09c68c9aed8aaf959867bf1ef157
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-12 21:16:43
Source code size: 210 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 486 / 505
Version history: 1 change(s)
Referenced in: [show references]