Libraryless. Click here for Pure Java version (14620L/101K).
!7 module ObserveTextInputForms > DynPrintLog { start { dm_vmBus_onMessages_directArg(ll('inputtingText, 'inputtingText_OK), voidfunc(fS _msg, fO[] arg) { final Map threadInfo = cast arg[0]; fS msg = cast arg[1]; final JTextField tf = cast arg[2]; fS text = gtt(tf); switch to q(); print("Inputting text " + (eq(_msg, 'inputtingText_OK) ? "done" : "") + ": " + msg); print("Current value: " + text); print("Module: " + dm_moduleName(mapGet(threadInfo, 'dm_currentModule_value))); }); } }
download show line numbers debug dex old transpilations
Travelled to 11 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019739 |
Snippet name: | Observe Text Input Forms |
Eternal ID of this version: | #1019739/5 |
Text MD5: | 7cfe4c6e7cbabf69d2ac1fdc996b12fc |
Transpilation MD5: | 3ce4880cabe016df0faf78dba9b1bd7d |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-24 04:30:57 |
Source code size: | 563 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 311 / 503 |
Version history: | 4 change(s) |
Referenced in: | [show references] |