Libraryless. Click here for Pure Java version (4721L/26K).
svoid addMouseAdapter(Component c, MouseAdapter a) { if (c != null && a != null) swing { c.addMouseListener(a); c.addMouseMotionListener(a); } }
Began life as a copy of #1033464
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034107 |
Snippet name: | addMouseAdapter |
Eternal ID of this version: | #1034107/1 |
Text MD5: | e605945766cea65c292b09acf898343d |
Transpilation MD5: | 1347b2173360511f26a7faa6c25a2af9 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-22 16:43:36 |
Source code size: | 161 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 158 / 233 |
Referenced in: | [show references] |