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

8
LINES

< > BotCompany Repo | #1009269 // addToWindowSplitRight_f

JavaX fragment (include)

// f modifies original content pane
// f: Component -> Component
static JSplitPane addToWindowSplitRight_f(Component c, Component toAdd, O f) {
  JFrame frame = getFrame(c);
  JSplitPane sp;
  setContentPane(frame, sp = jhsplit((Component) callF(f, frame.getContentPane()), toAdd));
  ret sp;
}

Author comment

Began life as a copy of #1005757

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: #1009269
Snippet name: addToWindowSplitRight_f
Eternal ID of this version: #1009269/4
Text MD5: 309162d8fc10e77d083db515076b01fe
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-06 02:28:21
Source code size: 301 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 427
Version history: 3 change(s)
Referenced in: [show references]