Libraryless. Click here for Pure Java version (7863L/44K).
svoid addMouseAndMotionListener(Component c, MouseAdapter ma) { if (c != null && ma != null) swing { c.addMouseListener(ma); c.addMouseMotionListener(ma); } }
Began life as a copy of #1020260
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033466 |
| Snippet name: | addMouseAndMotionListener |
| Eternal ID of this version: | #1033466/3 |
| Text MD5: | 33e285108e1504a5e2a734fc692fc314 |
| Transpilation MD5: | c96eba10488037e8b1917f2dcbe260d8 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-04-21 03:00:18 |
| Source code size: | 175 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 448 / 551 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |