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

9
LINES

< > BotCompany Repo | #1019418 // jhsplit_v2 - make horizontal JSplitPane - finally shows the divider correctly :) - now merged with jhsplit

JavaX fragment (include)

1  
static JSplitPane jhsplit_v2(Component l, Component r) {
2  
  ret jhsplit_v2(l, r, 0.5);
3  
}
4  
5  
static JSplitPane jhsplit_v2(Component l, Component r, double splitPoint) {
6  
  ret setSplitPaneOnFirstShowing(
7  
    swingNu(JSplitPane.class, JSplitPane.HORIZONTAL_SPLIT, wrap(l), wrap(r)),
8  
    splitPoint);
9  
}

Author comment

Began life as a copy of #1005756

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019418
Snippet name: jhsplit_v2 - make horizontal JSplitPane - finally shows the divider correctly :) - now merged with jhsplit
Eternal ID of this version: #1019418/5
Text MD5: a4a5a6435a26b27af7882cbe54d8ca8d
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-06 18:18:00
Source code size: 303 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 314 / 348
Version history: 4 change(s)
Referenced in: [show references]