Download Jar. Libraryless. Click here for Pure Java version (7604L/55K).
!7 p-exp { LS l = sortedCI(singleLinesOnly(gazelle_fromServer_allDistinctLines())); S text = escapeMultichars(lines(appendToAll(" | ", l))); JTextArea ta = typeWriterTextAreaWithoutUndo(); //jTextAreaWithoutUndo(); showFrame(ta); time "Making document" { Document doc = defaultStyledDocumentFromString(text); } time "Setting document" { setDocument(ta, doc); } }
Began life as a copy of #1024162
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1024165 |
Snippet name: | Test JTextArea.setDocument with chat lines |
Eternal ID of this version: | #1024165/4 |
Text MD5: | 576aa6b3f33596fb724c6ffdb673069d |
Transpilation MD5: | dbac907126f16324d825e78ffe0488c7 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-24 00:39:32 |
Source code size: | 400 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 259 / 866 |
Version history: | 3 change(s) |
Referenced in: | [show references] |