Download Jar. Libraryless. Click here for Pure Java version (7604L/55K).
1 | !7 |
2 | |
3 | p-exp { |
4 | LS l = sortedCI(singleLinesOnly(gazelle_fromServer_allDistinctLines())); |
5 | S text = escapeMultichars(lines(appendToAll(" | ", l))); |
6 | JTextArea ta = typeWriterTextAreaWithoutUndo(); //jTextAreaWithoutUndo(); |
7 | showFrame(ta); |
8 | time "Making document" { |
9 | Document doc = defaultStyledDocumentFromString(text); |
10 | } |
11 | time "Setting document" { |
12 | setDocument(ta, doc); |
13 | } |
14 | } |
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: | 261 / 868 |
Version history: | 3 change(s) |
Referenced in: | [show references] |