Libraryless. Click here for Pure Java version (14471L/100K).
!7 sclass ShowPrintLogOfModule extends DynModule { new DynModuleRef mate; transient StringBuffer log; transient JTextArea ta; void start { ownTimer(doEveryAndNow(1000, r updateMe)); } JComponent visualize() { if (log == null) null; ret jSection(str(mate), ta = typeWriterTextArea(str(log))); } void update { if (setField(mate := DynModuleRef(dm_closestModule(this)))) { O m = mate!; //print(">> " + getClassName(m)); log = (StringBuffer) getOpt(getMainClass(m), 'local_log); revisualize(); } if (ta != null && log != null) setText(ta, str(log)); } }
Began life as a copy of #1016129
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: | #1016130 | 
| Snippet name: | Show Print Log Of Module [Dyn Module] | 
| Eternal ID of this version: | #1016130/6 | 
| Text MD5: | 7635a903caeb08256dd2b5351ec04529 | 
| Transpilation MD5: | a533a11777fabcc5e9d9501b234eb40e | 
| Author: | stefan | 
| Category: | javax / gui | 
| Type: | JavaX source code (Dynamic Module) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-06-08 18:35:26 | 
| Source code size: | 656 bytes / 27 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 660 / 9995 | 
| Version history: | 5 change(s) | 
| Referenced in: | [show references] |