Libraryless. Click here for Pure Java version (14620L/101K).
1 | !7 |
2 | |
3 | module ObserveTextInputForms > DynPrintLog { |
4 | start { |
5 | dm_vmBus_onMessages_directArg(ll('inputtingText, 'inputtingText_OK), voidfunc(fS _msg, fO[] arg) { |
6 | final Map threadInfo = cast arg[0]; |
7 | fS msg = cast arg[1]; |
8 | final JTextField tf = cast arg[2]; |
9 | fS text = gtt(tf); |
10 | switch to q(); |
11 | print("Inputting text " + (eq(_msg, 'inputtingText_OK) ? "done" : "") + ": " + msg); |
12 | print("Current value: " + text); |
13 | print("Module: " + dm_moduleName(mapGet(threadInfo, 'dm_currentModule_value))); |
14 | }); |
15 | } |
16 | } |
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: | 312 / 505 |
Version history: | 4 change(s) |
Referenced in: | [show references] |