Libraryless. Click here for Pure Java version (6522L/37K).
1 | static JWindow showWindowInBottomRightCorner(final JComponent c) { |
2 | if (isHeadless()) null; |
3 | ret swing(func -> JWindow { |
4 | JWindow window = makeWindow(c); |
5 | window.pack(); |
6 | moveToBottomRightCorner(window); |
7 | ret window; |
8 | }); |
9 | } |
Began life as a copy of #1015141
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: | #1015577 |
Snippet name: | showWindowInBottomRightCorner |
Eternal ID of this version: | #1015577/3 |
Text MD5: | 28941ec2c43921b006775e44d4f02bbf |
Transpilation MD5: | 6bcc0f9d8b248b126851984079c8f3b7 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-27 09:45:10 |
Source code size: | 246 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 392 / 478 |
Version history: | 2 change(s) |
Referenced in: | [show references] |