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

24
LINES

< > BotCompany Repo | #1016760 // Full Speech Log [Dyn Module]

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

Libraryless. Click here for Pure Java version (14836L/102K).

!7

sclass FullSpeechLog > DynTextArea {
  transient L<S> list = new CopyOnWriteArrayList;
  
  void start {
    setField(noGrab := true);
    setText(lines(copyList(katze_getFullLog(), list)));
    onSpeechRecognized(voidfunc(S s) { printToText(addAndReturn(list, s)) });
  }
  
  visualize {
    JComponent c = super.visualize();
    //makeUneditable(textArea);
    /*swing {
      textArea.getCaret().setVisible(true);
      textArea.getCaret().setSelectionVisible(true);
    }*/
    //onFocus(textArea, r { textArea.getCaret().setVisible(true) });
    ret c;
  }
  
  L<S> getList() { ret list; }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1016760
Snippet name: Full Speech Log [Dyn Module]
Eternal ID of this version: #1016760/8
Text MD5: 341c6423014db13d35fd87928e6f7dd2
Transpilation MD5: a4e3ada55a94be085a7f885f0ed92a92
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-07-17 17:13:46
Source code size: 625 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 356 / 3551
Version history: 7 change(s)
Referenced in: [show references]