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

!752

!include #1003380 // Chat

static new Chat chat;

p {
  chat.onEnter_post = r {
    chat.append("Bot: Yo, " + chat.input() + "\n");
  };
  
  showFrame("Chat with Bot!", chat);
  chat.requestFocus();
}

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: 713 / 790
Referenced in: [show references]