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).

static JSplitPane jhsplit(Component etc l, Component etc r) {
  ret jhsplit(l, r, 0.5);
}

static JSplitPane jhsplit(Component etc l, Component etc r, double splitPoint, int delay) {
  // delay now ignored
  ret jhsplit(l, r, splitPoint);
}

static JSplitPane jhsplit(Component etc l, Component etc r, double splitPoint) {
  ret setSplitPaneOnFirstShowing(
    swingNu(JSplitPane.class, JSplitPane.HORIZONTAL_SPLIT, wrap(l), wrap(r)),
    splitPoint);
}

static JSplitPane jhsplit(double splitPoint, Component etc l, Component etc r) {
  ret jhsplit(l, r, splitPoint);
}

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