Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1015134 // packWindow - packs differently than packFrame!

JavaX fragment (include)

static <A extends Component> A packWindow(final A c) {
  swing {
    Window w = getWindow(c);
    if (w != null) w.pack();
  }
  ret c;
}

Author comment

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: 484 / 471
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)