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)

static void consoleSend(fS s) {
  swing {
    consoleSetInput(s);
    consoleSend();
  }
}

static void consoleSend() {
  swing {
    call(consoleInputField(), "fireActionPerformed");
  }
}

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