Libraryless. Click here for Pure Java version (2109L/14K).
static JWindow showInTopRightCorner(Component c) { ret swing(() -> { new JWindow w; w.add(c); w.pack(); moveToTopRightCorner(w); w.setVisible(true); ret w; }); }
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: | 729 / 1125 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024924 - showCenterPackedWindow |