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

6
LINES

< > BotCompany Repo | #1006253 // addToWindowBottomHalf (adds stuff in bottom half of window)

JavaX fragment (include)

1  
static void addToWindowBottomHalf(Component c, Component toAdd) {
2  
  JFrame frame = getFrame(c);
3  
  Container cp = frame.getContentPane();
4  
  frame.setContentPane(vgrid(cp, toAdd));
5  
  revalidate(frame);
6  
}

Author comment

Began life as a copy of #1005545

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1006253
Snippet name: addToWindowBottomHalf (adds stuff in bottom half of window)
Eternal ID of this version: #1006253/1
Text MD5: 754a3ee5b6991bd7c13c1d8241afb24c
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-25 22:58:22
Source code size: 206 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 590 / 595
Referenced in: [show references]