Libraryless. Click here for Pure Java version (5496L/37K).
1 | !7 |
2 | |
3 | module WordTool extends DynSCP { |
4 | InputChooser inputChooser = new(this).setDelay(1000); |
5 | |
6 | transient ReliableSingleThread rst = new(r { update(inputChooser.input()) }); |
7 | transient JPanel stack; |
8 | transient MultiThreadStepper stepper; |
9 | |
10 | visualize { |
11 | ret withMargin(northAndCenter( |
12 | wrap(inputChooser), |
13 | jscroll_trackWidth(stack = dynamicVStack2()))); |
14 | } |
15 | |
16 | void doIt { rst.trigger(); } |
17 | |
18 | void update { if (inputChooser.update()) update(inputChooser.input()); } |
19 | |
20 | void update(S input) { |
21 | temp enter(); |
22 | |
23 | print("Calculating: " + input); |
24 | } |
25 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018677 |
Snippet name: | Word Tool [Dyn Module, dev.] |
Eternal ID of this version: | #1018677/3 |
Text MD5: | d1fb595a47caff8aeac9917131080eb4 |
Transpilation MD5: | 10a48e1cde698c8fa50f4a1306fc88e5 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-09 17:32:36 |
Source code size: | 604 bytes / 25 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 409 / 719 |
Version history: | 2 change(s) |
Referenced in: | [show references] |