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

14
LINES

< > BotCompany Repo | #1003383 // Test Swing Chat with Bot

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

Libraryless. Click here for Pure Java version (328L/3K/11K).

1  
!752
2  
3  
!include #1003380 // Chat
4  
5  
static new Chat chat;
6  
7  
p {
8  
  chat.onEnter_post = r {
9  
    chat.append("Bot: Yo, " + chat.input() + "\n");
10  
  };
11  
  
12  
  showFrame("Chat with Bot!", chat);
13  
  chat.requestFocus();
14  
}

Author comment

Began life as a copy of #1003381

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003383
Snippet name: Test Swing Chat with Bot
Eternal ID of this version: #1003383/1
Text MD5: 1e6144f2ba873a8d70698c20e156ebe0
Transpilation MD5: b7d1c66d811bea9a19728b0a54641f73
Author: stefan
Category: javax / talking robots
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-28 22:22:02
Source code size: 220 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 715 / 794
Referenced in: [show references]