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

25
LINES

< > BotCompany Repo | #1018677 // Word Tool [Dyn Module, dev.]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (5496L/37K).

!7

module WordTool extends DynSCP {
  InputChooser inputChooser = new(this).setDelay(1000);
  
  transient ReliableSingleThread rst = new(r { update(inputChooser.input()) });
  transient JPanel stack;
  transient MultiThreadStepper stepper;

  visualize {
    ret withMargin(northAndCenter(
      wrap(inputChooser),
      jscroll_trackWidth(stack = dynamicVStack2())));
  }
  
  void doIt { rst.trigger(); }
  
  void update { if (inputChooser.update()) update(inputChooser.input()); }
  
  void update(S input) {
    temp enter();
    
    print("Calculating: " + input);
  }
}

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: 324 / 610
Version history: 2 change(s)
Referenced in: [show references]