Libraryless. Click here for Pure Java version (2109L/14K).
1 | static JWindow showInTopRightCorner(Component c) { |
2 | ret swing(() -> { |
3 | new JWindow w; |
4 | w.add(c); |
5 | w.pack(); |
6 | moveToTopRightCorner(w); |
7 | w.setVisible(true); |
8 | ret w; |
9 | }); |
10 | } |
Began life as a copy of #1003544
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1003547 |
Snippet name: | showInTopRightCorner |
Eternal ID of this version: | #1003547/2 |
Text MD5: | 3f7b4e7655b0e86c2ec061ffec4c69ae |
Transpilation MD5: | 8f8cde4db7951f1b576d9f50c9e1fcf1 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-30 12:53:03 |
Source code size: | 198 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 728 / 1124 |
Version history: | 1 change(s) |
Referenced in: | [show references] |