Libraryless. Click here for Pure Java version (11759L/75K).
// TODO: optimize. also doesn't seem to work with cmodule2? static JComponent dm_printLogComponent() { DynModule mod = dm_current_mandatory(); final JTextArea ta = moveCaretToEnd(typeWriterTextArea_noUndo(str(mod._actualPrintLog()))); JComponent section = jSection("Log", awtEvery(ta, 500, r { setText(ta, str(mod._actualPrintLog())) })); componentPopupMenuItem(section, "Clear", r clearPrintLog); ret section; }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1017163 |
Snippet name: | dm_printLogComponent - TODO: move to JFastLogView_noWrap |
Eternal ID of this version: | #1017163/10 |
Text MD5: | 451eca778af9f7072e1a4b9a771b9f31 |
Transpilation MD5: | dfae6cfbca6d8db994b481e6686eb187 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-01-04 00:48:45 |
Source code size: | 429 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 413 / 542 |
Version history: | 9 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |