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

12
LINES

< > BotCompany Repo | #1007339 // consoleSend - set console input text (optionally) and simulate Enter

JavaX fragment (include)

1  
static void consoleSend(fS s) {
2  
  swing {
3  
    consoleSetInput(s);
4  
    consoleSend();
5  
  }
6  
}
7  
8  
static void consoleSend() {
9  
  swing {
10  
    call(consoleInputField(), "fireActionPerformed");
11  
  }
12  
}

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: #1007339
Snippet name: consoleSend - set console input text (optionally) and simulate Enter
Eternal ID of this version: #1007339/4
Text MD5: f9ccdeed1f10f0ef65705164de8adb34
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-03 14:31:32
Source code size: 200 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 491 / 507
Version history: 3 change(s)
Referenced in: [show references]