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

7
LINES

< > BotCompany Repo | #1010378 // addToWindowSplitLeft (forces existing content to be smaller than minimum automatically)

JavaX fragment (include)

static JSplitPane addToWindowSplitLeft(Component c, Component toAdd) {
  ret addToWindowSplitLeft_f(c, toAdd, func(JComponent c) { jMinWidth_pure(100, c) });
}

static JSplitPane addToWindowSplitLeft(Component c, Component toAdd, double splitRatio) {
  ret setSplitPaneLater(addToWindowSplitLeft(c, toAdd), splitRatio);
}

Author comment

Began life as a copy of #1009336

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1010378
Snippet name: addToWindowSplitLeft (forces existing content to be smaller than minimum automatically)
Eternal ID of this version: #1010378/3
Text MD5: 2092534b28a9c6e4675db440ee06e746
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-13 17:12:46
Source code size: 327 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 566 / 590
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)