1 | static <A extends Component> A packWindow(final A c) { |
2 | swing { |
3 | Window w = getWindow(c); |
4 | if (w != null) w.pack(); |
5 | } |
6 | ret c; |
7 | } |
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: | 485 / 473 |
Version history: | 2 change(s) |
Referenced in: | [show references] |