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

8
LINES

< > BotCompany Repo | #1009269 // addToWindowSplitRight_f

JavaX fragment (include)

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

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: 402 / 431
Version history: 3 change(s)
Referenced in: [show references]