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

6
LINES

< > BotCompany Repo | #1005545 // addToWindowRightHalf (adds stuff in right half of window)

JavaX fragment (include)

static void addToWindowRightHalf(Component c, Component toAdd) {
  JFrame frame = getFrame(c);
  Container cp = frame.getContentPane();
  frame.setContentPane(hgrid(cp, toAdd));
  revalidate(frame);
}

Author comment

Began life as a copy of #1001528

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005545
Snippet name: addToWindowRightHalf (adds stuff in right half of window)
Eternal ID of this version: #1005545/1
Text MD5: f79cd4fd58dd5a422f53ab30b6636418
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-11-26 15:53:23
Source code size: 205 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 615 / 641
Referenced in: [show references]