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)

1  
static Component addToWindowAndGrow(final Component c, final Component toAdd) {
2  
  swing {
3  
    int h = getMinimumHeight(toAdd);
4  
    addToWindow(c, toAdd);
5  
    growWindowSouth(c, h);
6  
  }
7  
  ret c;
8  
}

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: 411 / 449
Version history: 2 change(s)
Referenced in: [show references]