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

3
LINES

< > BotCompany Repo | #1005758 // isNotLeftMouseButton - use instead of isPopupTrigger [works on mousePressed too]

JavaX fragment (include)

static bool isNotLeftMouseButton(MouseEvent e) {
  ret e.getButton() != e.BUTTON1;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005758
Snippet name: isNotLeftMouseButton - use instead of isPopupTrigger [works on mousePressed too]
Eternal ID of this version: #1005758/1
Text MD5: eccabf86129f0742a09814f49684296f
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-07 13:24:17
Source code size: 86 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 541
Referenced in: [show references]