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

13
LINES

< > BotCompany Repo | #1003286 // Linked text areas demo

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

Libraryless. Click here for Pure Java version (141L/2K/5K).

!752

static JTextArea ta1, ta2;

p {
  showSideBySide("Linked Text Areas",
    withTitle("Left Text", ta1 = newTypeWriterTextArea()),
    withTitle("Right Text", ta2 = newTypeWriterTextArea()));
    
  onUpdate(ta1, runnable {
    ta2.setText(ta1.getText());
  });
}

Author comment

Began life as a copy of #1001770

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003286
Snippet name: Linked text areas demo
Eternal ID of this version: #1003286/1
Text MD5: 78f151cb8b3246e0c6dd07e2e51d6b7a
Transpilation MD5: 14302fd589c5ff460173aef2b76b263d
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-15 14:14:03
Source code size: 281 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 601 / 626
Referenced in: [show references]