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).

!7

p-exp {
  LS l = sortedCI(singleLinesOnly(gazelle_fromServer_allDistinctLines()));
  S text = escapeMultichars(lines(appendToAll(" | ", l)));
  print("Chars: " + l(text));
  JTextArea ta = //typeWriterTextAreaWithoutUndo();
    jTextAreaWithoutUndo();
  showFrame(ta);
  sleepSeconds(5);
  time "Setting text" {
    setText(ta, text);
  }
}

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: 239 / 780
Version history: 4 change(s)
Referenced in: