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

7
LINES

< > BotCompany Repo | #1009336 // addToWindowSplitRight_aggressive (forces existing content to be smaller than minimum)

JavaX fragment (include)

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

static JSplitPane addToWindowSplitRight_aggressive(Component c, Component toAdd, float splitRatio) {
  ret setSplitPaneLater(addToWindowSplitRight_aggressive(c, toAdd), splitRatio);
}

Author comment

Began life as a copy of #1009269

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: #1009336
Snippet name: addToWindowSplitRight_aggressive (forces existing content to be smaller than minimum)
Eternal ID of this version: #1009336/7
Text MD5: 6597fc4851e33e921e11babdaaa608b2
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-20 00:53:08
Source code size: 363 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 543 / 573
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1009827 - addToFrameSplitRight_aggressive - synonym of addToWindowSplitRight_aggressive (forces existing content to be smaller than minimum)
#1010378 - addToWindowSplitLeft (forces existing content to be smaller than minimum automatically)