Transpiled version (5200L) is out of date.
static Pt translateLocationBetweenComponents(Pt p, Component c1, Component c2) { ret p == null ?: toPt(SwingUtilities.convertPoint(c1, toPoint(p), c2)); } static PtInComponent translateLocationBetweenComponents(PtInComponent p, Component c2) { ret PtInComponent(translateLocationBetweenComponents(p.p, p.component, c2), c2); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034634 |
Snippet name: | translateLocationBetweenComponents |
Eternal ID of this version: | #1034634/7 |
Text MD5: | cca8886458a6dc5a30fbb1d009edc8d3 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-02-24 20:51:36 |
Source code size: | 337 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 193 / 284 |
Version history: | 6 change(s) |
Referenced in: | [show references] |