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

5
LINES

< > BotCompany Repo | #1005757 // addToWindowSplitRight (adds stuff in right half of window using JSplitPane)

JavaX fragment (include)

static void addToWindowSplitRight(Component c, Component toAdd) {
  JFrame frame = getFrame(c);
  frame.setContentPane(jhsplit(frame.getContentPane(), toAdd));
  revalidate(frame);
}

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, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005757
Snippet name: addToWindowSplitRight (adds stuff in right half of window using JSplitPane)
Eternal ID of this version: #1005757/1
Text MD5: 31e16eaf79118e7086c678d89f9d82a5
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-07 12:12:02
Source code size: 186 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 618 / 613
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009269 - addToWindowSplitRight_f