static int setSplitPaneDelayed_delay = 100; // value = 0 to 1 static JSplitPane setSplitPaneDelayed(final Component c, final double value) { final JSplitPane sp = first(childrenOfType(c, JSplitPane.class)); if (sp != null) awtLater(setSplitPaneDelayed_delay, r { sp.setDividerLocation(value) }); ret sp; } static JSplitPane setSplitPaneDelayed(double value, Component c) { ret setSplitPaneDelayed(c, value); }
Began life as a copy of #1007235
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: | #1014704 |
Snippet name: | setSplitPaneDelayed - set split location of outer-most JSplitPane after short delay |
Eternal ID of this version: | #1014704/4 |
Text MD5: | 2a33b70f564316fbc39b966b440d0cb7 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-30 17:54:04 |
Source code size: | 435 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 413 / 456 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |