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

6
LINES

< > BotCompany Repo | #1033464 // removeMouseAdapter

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4668L/26K).

1  
svoid removeMouseAdapter(Component c, MouseAdapter a) {
2  
  if (c != null && a != null) swing {
3  
    c.removeMouseListener(a);
4  
    c.removeMouseMotionListener(a);
5  
  }
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033464
Snippet name: removeMouseAdapter
Eternal ID of this version: #1033464/2
Text MD5: ea1137b8a7d0df9a4e595fef22ea3bc0
Transpilation MD5: 1c7278a38a0b2d6f11aa0d7332b6c1fb
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-28 23:32:50
Source code size: 170 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 171 / 237
Version history: 1 change(s)
Referenced in: [show references]