Libraryless. Click here for Pure Java version (5188L/29K).
1 | static PtInComponent ptInComponentFromEvent(MouseEvent evt) { |
2 | ret new PtInComponent(evt.getComponent(), pt(evt.getX(), evt.getY())); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034633 |
Snippet name: | ptInComponentFromEvent |
Eternal ID of this version: | #1034633/1 |
Text MD5: | 39b8e05699920a9c31caccf5a174df13 |
Transpilation MD5: | 4f291d6d2bb7ac37c51f543095f227e6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-24 20:33:53 |
Source code size: | 138 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 192 / 265 |
Referenced in: | [show references] |