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

8
LINES

< > BotCompany Repo | #1015178 // addToWindowAndGrow - grows window to accomodate new stuff

JavaX fragment (include)

static Component addToWindowAndGrow(final Component c, final Component toAdd) {
  swing {
    int h = getMinimumHeight(toAdd);
    addToWindow(c, toAdd);
    growWindowSouth(c, h);
  }
  ret c;
}

Author comment

Began life as a copy of #1001528

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: #1015178
Snippet name: addToWindowAndGrow - grows window to accomodate new stuff
Eternal ID of this version: #1015178/3
Text MD5: a1c0da8e3f19e3b3182757ccb4f7efb0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 15:40:47
Source code size: 202 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 412 / 450
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)