Libraryless. Click here for Pure Java version (9917L/55K).
1 | // value = 0 to 1 |
2 | static JSplitPane setSplitPane(Component c, double value) swing {
|
3 | JSplitPane sp = first(childrenOfType(c, JSplitPane.class)); |
4 | if (sp != null) |
5 | sp.setDividerLocation(value); |
6 | ret sp; |
7 | } |
Began life as a copy of #1006620
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: | #1006638 |
| Snippet name: | setSplitPane - set split location of outer-most JSplitPane |
| Eternal ID of this version: | #1006638/2 |
| Text MD5: | 19bf0b3517b3373f218e63e2012c01c7 |
| Transpilation MD5: | 99f376852a800b1c15a4160725f8d8a4 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-11-30 18:24:50 |
| Source code size: | 215 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 715 / 859 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |