static <A extends Component> A packWindow(final A c) { swing { Window w = getWindow(c); if (w != null) w.pack(); } ret c; }
Began life as a copy of #1003296
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: | #1015134 |
Snippet name: | packWindow - packs differently than packFrame! |
Eternal ID of this version: | #1015134/3 |
Text MD5: | 46356ac7a676d6a6850cd51c44c23c65 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-08 16:13:39 |
Source code size: | 143 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 483 / 470 |
Version history: | 2 change(s) |
Referenced in: | [show references] |