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

18
LINES

< > BotCompany Repo | #1005756 // jhsplit - make horizontal JSplitPane

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

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

1  
static JSplitPane jhsplit(Component etc l, Component etc r) {
2  
  ret jhsplit(l, r, 0.5);
3  
}
4  
5  
static JSplitPane jhsplit(Component etc l, Component etc r, double splitPoint, int delay) {
6  
  // delay now ignored
7  
  ret jhsplit(l, r, splitPoint);
8  
}
9  
10  
static JSplitPane jhsplit(Component etc l, Component etc r, double splitPoint) {
11  
  ret setSplitPaneOnFirstShowing(
12  
    swingNu(JSplitPane.class, JSplitPane.HORIZONTAL_SPLIT, wrap(l), wrap(r)),
13  
    splitPoint);
14  
}
15  
16  
static JSplitPane jhsplit(double splitPoint, Component etc l, Component etc r) {
17  
  ret jhsplit(l, r, splitPoint);
18  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005756
Snippet name: jhsplit - make horizontal JSplitPane
Eternal ID of this version: #1005756/8
Text MD5: 3c4dd4d3d9de9113f8b74a03ce4a013b
Transpilation MD5: f7a8b8bd31779f7f3d8584cd743916fe
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-15 23:36:45
Source code size: 587 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 750 / 821
Version history: 7 change(s)
Referenced in: [show references]