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)

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

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

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

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

download  show line numbers  debug dex   

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

No comments. add comment

Snippet ID: #1005756
Snippet name: jhsplit - make horizontal JSplitPane
Eternal ID of this version: #1005756/7
Text MD5: c79e100907d1f8a681873486a92dce28
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-20 13:47:51
Source code size: 555 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 398 / 380
Version history: 6 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1005756 & http://1005756.tinybrain.de