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

7
LINES

< > BotCompany Repo | #1009951 // addFullSizeComponent

JavaX fragment (include)

1  
static void addFullSizeComponent(final Container a, final Component b) {
2  
  onResizeAndNow(a, r {
3  
    b.setSize(a.getWidth(), a.getHeight());
4  
    revalidate(b);
5  
  });
6  
  a.add(b);
7  
}

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: #1009951
Snippet name: addFullSizeComponent
Eternal ID of this version: #1009951/2
Text MD5: 5ed85e75d872d843dd35e0cb853983d6
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-27 15:11:47
Source code size: 185 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 509 / 521
Version history: 1 change(s)
Referenced in: [show references]