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

11
LINES

< > BotCompany Repo | #1015152 // Show last utterances as nice buttons

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 4281K of libraries. Click here for Pure Java version (8337L/57K).

1  
!7
2  
3  
p-noconsole-autoupdate {
4  
  final DynamicHStack buttons = renameFrame("Last things you said", showNiceButtons());
5  
  onUserUtterance_plusLastN(5, voidfunc(S s) {
6  
    addToNiceButtons(buttons, s, #1101240, null);
7  
    trimHStackFromLeft(buttons, 5);
8  
    centerPackFrame(buttons);
9  
    scrollAllTheWayToTheRight(buttons);
10  
  });
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015152
Snippet name: Show last utterances as nice buttons
Eternal ID of this version: #1015152/10
Text MD5: dc07c6d9affc32b30aaf8d6ca85f888f
Transpilation MD5: ba645edd807adaeb3a015cc2e2501756
Author: stefan
Category: javax / a.i. / gui
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 13:00:15
Source code size: 337 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 523 / 1475
Version history: 9 change(s)
Referenced in: [show references]