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

13
LINES

< > BotCompany Repo | #1006636 // jvsplit - make vertical JSplitPane

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (11773L/66K).

1  
static JSplitPane jvsplit(Component etc n, Component etc s) {
2  
  ret jvsplit(n, s, 0.5);
3  
}
4  
5  
static JSplitPane jvsplit(Component etc n, Component etc s, double splitPoint, int delay default 0) {
6  
  ret setSplitPaneOnFirstShowing(
7  
    swing(-> new JSplitPane(JSplitPane.VERTICAL_SPLIT, wrap(n), wrap(s))),
8  
    splitPoint, delay);
9  
}
10  
11  
static JSplitPane jvsplit(double splitPoint, int delay default 0, Component etc n, Component etc s) {
12  
  ret jvsplit(n, s, splitPoint, delay);
13  
}

Author comment

Began life as a copy of #1005756

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1006636
Snippet name: jvsplit - make vertical JSplitPane
Eternal ID of this version: #1006636/12
Text MD5: 03a75df0865711f7ff9bcf228e52f474
Transpilation MD5: e5f36d55d337edced6d8484a1870b8bc
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-01-21 16:49:07
Source code size: 484 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 582 / 725
Version history: 11 change(s)
Referenced in: [show references]