1 | static int moveToTopLeftCorner_inset = 20; |
2 | |
3 | static <A extends Component> A moveToTopLeftCorner(A c) { |
4 | Window w = getWindow(c); |
5 | if (w != null) |
6 | w.setLocation(moveToTopLeftCorner_inset, moveToTopLeftCorner_inset); |
7 | ret c; |
8 | } |
Began life as a copy of #1001432
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006779 |
Snippet name: | moveToTopLeftCorner |
Eternal ID of this version: | #1006779/2 |
Text MD5: | 0111f67e449b74629dedb605581dd5bb |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-05 20:38:31 |
Source code size: | 238 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 503 / 524 |
Version history: | 1 change(s) |
Referenced in: | [show references] |