Libraryless. Click here for Pure Java version (141L/2K/5K).
1 | !752 |
2 | |
3 | static JTextArea ta1, ta2; |
4 | |
5 | p { |
6 | showSideBySide("Linked Text Areas", |
7 | withTitle("Left Text", ta1 = newTypeWriterTextArea()), |
8 | withTitle("Right Text", ta2 = newTypeWriterTextArea())); |
9 | |
10 | onUpdate(ta1, runnable { |
11 | ta2.setText(ta1.getText()); |
12 | }); |
13 | } |
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: | 710 / 736 |
Referenced in: | [show references] |