Libraryless. Click here for Pure Java version (15385L/90K).
1 | static int showForm_defaultGap = 4; |
2 | static int showForm_gapBetweenColumns = 10; |
3 | |
4 | static JPanel showFormTitled(fS title, fO... _parts) { |
5 | JDesktopPane desktop = mainDesktopPane(); |
6 | if (desktop != null) ret showInternalFrameFormTitled(desktop, title, _parts); |
7 | ret swing(-> { |
8 | JPanel panel = showForm_makePanel(false, _parts); |
9 | showForm_makeFrame(title, panel); |
10 | ret panel; |
11 | }); |
12 | } |
13 | |
14 | static JPanel showForm_makePanel(Bool internalFrame, O... _parts) { |
15 | L<JComponent> out = showForm_arrange1(showForm_makeComponents(internalFrame, _parts)); |
16 | ret vstackWithSpacing(out, showForm_defaultGap); |
17 | } |
Began life as a copy of #1004432
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004442 |
Snippet name: | showFormTitled (+ showForm_makePanel) - show input form [Swing] |
Eternal ID of this version: | #1004442/27 |
Text MD5: | 8a6cd200220276f1531f5c8e0c1f5eb1 |
Transpilation MD5: | ccece4396919f3b2528e562aaabe6ca0 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-25 00:28:42 |
Source code size: | 618 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 809 / 896 |
Version history: | 26 change(s) |
Referenced in: | [show references] |