Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #1024167 // Test JTextArea.setText() with chat lines

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (7541L/54K).

1  
!7
2  
3  
p-exp {
4  
  LS l = sortedCI(singleLinesOnly(gazelle_fromServer_allDistinctLines()));
5  
  S text = escapeMultichars(lines(appendToAll(" | ", l)));
6  
  print("Chars: " + l(text));
7  
  JTextArea ta = //typeWriterTextAreaWithoutUndo();
8  
    jTextAreaWithoutUndo();
9  
  showFrame(ta);
10  
  sleepSeconds(5);
11  
  time "Setting text" {
12  
    setText(ta, text);
13  
  }
14  
}

Author comment

Began life as a copy of #1024165

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: #1024167
Snippet name: Test JTextArea.setText() with chat lines
Eternal ID of this version: #1024167/5
Text MD5: 9027b7d22252437ba2b83667531717f5
Transpilation MD5: 7b6b15ad38dcd227c78c4733efec6240
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:53:01
Source code size: 357 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 238 / 778
Version history: 4 change(s)
Referenced in: [show references]