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

8
LINES

< > TinyBrain | #1010379 - addToWindowSplitLeft_f

JavaX fragment (include)

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

Author comment

Began life as a copy of #1009269

download  show line numbers  debug dex   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1010379
Snippet name: addToWindowSplitLeft_f
Eternal ID of this version: #1010379/1
Text MD5: a7b020ac0696322093a3d4a0a91cc644
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-13 17:11:11
Source code size: 300 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 6 / 7
Referenced in: [show]