1 | static int moveToBottomLeftCorner_inset = 20; |
2 | |
3 | static void moveToBottomLeftCorner(Component c) { |
4 | Window w = getWindow(c); |
5 | if (w != null) { |
6 | Rectangle area = maxWindowBounds(); |
7 | w.setLocation(area.x+moveToBottomLeftCorner_inset, |
8 | area.y+area.height-moveToBottomLeftCorner_inset-w.getHeight()); |
9 | } |
10 | } |
Began life as a copy of #1006779
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: | #1009096 |
Snippet name: | moveToBottomLeftCorner |
Eternal ID of this version: | #1009096/3 |
Text MD5: | 547faf64edf8937eecff3100fa97958f |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-02 18:20:29 |
Source code size: | 324 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 503 / 531 |
Version history: | 2 change(s) |
Referenced in: | [show references] |