Libraryless. Click here for Pure Java version (144L/1K).
1 | static Pt convertPointToScreen(Pt p, Component c) { |
2 | if (c == null) ret p; |
3 | Point p2 = toPoint(p); |
4 | SwingUtilities.convertPointToScreen(p2, c); |
5 | ret toPt(p2); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036085 |
Snippet name: | convertPointToScreen |
Eternal ID of this version: | #1036085/2 |
Text MD5: | 534263289f6a9565257920c15d1d29e3 |
Transpilation MD5: | 18d513a6f61ca4c7e6d42e5e9356ad2e |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-09-07 04:45:09 |
Source code size: | 169 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 170 / 209 |
Version history: | 1 change(s) |
Referenced in: | [show references] |