Uses 1113K of libraries. Click here for Pure Java version (21641L/119K).
!7 svoid _onLoad { onTranspilerDirty(r dm_mediumRefreshTranspiler); } cmodule2 StefansAssistant > DynPrintLog { transient JTextField tfInput; start { JComponent trayIcon = jimage(#1101420); onLeftClick(trayIcon, rThreadEnter addStdFunctionWithAnimation); componentPopupMenuItems(trayIcon, "Stefan's Assistant", r { dm_showModule(module()) }, "Refresh Transpiler", r dm_refreshTranspiler); dm_setTrayIcon(trayIcon); dm_onSnippetEdited(#1006654, r dm_reloadModule); dm_stefansAssistant_offerSFOnSnippetCreated(); } visual centerAndSouthWithMargins(super, centerAndEastWithSpacing(onEnter(tfInput = jtextfield("sf"), rThread go), jbutton("Go", rThread go))); enhanceFrame { onInternalFrameActivatedAndNow(f/JInternalFrame, rEnter { if (!dm_osLoading()) focus(tfInput); }); } void go enter { print(stefansAssistant_answer(getText(tfInput))); } }
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1016808 |
Snippet name: | Stefan's Assistant [Dyn Module] |
Eternal ID of this version: | #1016808/28 |
Text MD5: | 21d5e4cb69e879dc1a1a13fa3cfe7f72 |
Transpilation MD5: | 861f6ed7f52ce37e51ac657b7d55dd28 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-09-29 00:38:28 |
Source code size: | 974 bytes / 35 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 512 / 265581 |
Version history: | 27 change(s) |
Referenced in: | -