Download Jar. Uses 6678K of libraries. Click here for Pure Java version (12463L/93K).
!7 static AutoComboBox3 tf; static DynamicVStack stack; static ReliableSingleThread rst = new(r go); sS loaded; p-subst { autoRestart(5); showFrame(northAndCenterWithMargins( fontSize(15, centerComboBox(tf = standardFunctionComboBox())), jscroll_dynamicvstack(stack = dynamicVStack()))); onChange(tf, rstTrigger(rst)); } svoid go { S s = getTextTrim(tf); if (eq(loaded, s)) ret; loaded = s; stack.clearComponents(); for (S f : ll(f iPanel_standardFunctionSourceCode, f iPanel_renderSafeFunction, f identifierSafetyEditPanel)) pcall { int n = maxNumberOfFunctionArguments(f); O[] args = toObjectArray(takeFirst(n, ll(s, r { loaded = null; rst.trigger() }))); JComponent c = (JComponent) callF(f, args); if (c != null) stack.addComponent(jsection(f, c)); } }
Began life as a copy of #1015738
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: | #1015783 |
Snippet name: | The Intelligent Program v2 [OK, but layout weird] |
Eternal ID of this version: | #1015783/15 |
Text MD5: | eb3bf0d155a5f663da3c24b91bee21bb |
Transpilation MD5: | e74729dfdf85ce80e20054fb0a4970c1 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-27 21:15:25 |
Source code size: | 827 bytes / 27 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 518 / 1137 |
Version history: | 14 change(s) |
Referenced in: | -