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).

1  
!7
2  
3  
sclass FullSpeechLog > DynTextArea {
4  
  transient L<S> list = new CopyOnWriteArrayList;
5  
  
6  
  void start {
7  
    setField(noGrab := true);
8  
    setText(lines(copyList(katze_getFullLog(), list)));
9  
    onSpeechRecognized(voidfunc(S s) { printToText(addAndReturn(list, s)) });
10  
  }
11  
  
12  
  visualize {
13  
    JComponent c = super.visualize();
14  
    //makeUneditable(textArea);
15  
    /*swing {
16  
      textArea.getCaret().setVisible(true);
17  
      textArea.getCaret().setSelectionVisible(true);
18  
    }*/
19  
    //onFocus(textArea, r { textArea.getCaret().setVisible(true) });
20  
    ret c;
21  
  }
22  
  
23  
  L<S> getList() { ret list; }
24  
}

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