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

7
LINES

< > BotCompany Repo | #1024162 // Test JTextArea.setDocument

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

Download Jar. Libraryless. Click here for Pure Java version (7276L/53K).

1  
!7
2  
3  
p-exp {
4  
  JTextArea ta = typeWriterTextArea(); //jTextAreaWithoutUndo();
5  
  showFrame(ta);
6  
  setDocument(ta, defaultStyledDocumentFromString(repString(50000, "hello\n")));
7  
}

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: #1024162
Snippet name: Test JTextArea.setDocument
Eternal ID of this version: #1024162/3
Text MD5: 522d730b1ff47458b4a9c88b746f1a29
Transpilation MD5: 9795f55a0f486d0239f71acce17350f8
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:21:30
Source code size: 182 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 167 / 621
Version history: 2 change(s)
Referenced in: [show references]