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

7
LINES

< > BotCompany Repo | #1005138 // consoleSetInput

JavaX fragment (include)

static void consoleSetInput(final S text) {
  ifndef NoAWT
    if (headless()) ret;
    setTextAndSelectAll(consoleInputField(), text);
    focusConsole();
  endifndef
}

download  show line numbers  debug dex  old transpilations   

Travelled to 21 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, qsqiayxyrbia, tslmcundralx, tvejysmllsmz, uelavcdoioby, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv, yanjaxplzisb

No comments. add comment

Snippet ID: #1005138
Snippet name: consoleSetInput
Eternal ID of this version: #1005138/6
Text MD5: 5315079faf0208a1b1cc1720f64a0700
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-04 17:54:31
Source code size: 175 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 554 / 1442
Version history: 5 change(s)
Referenced in: [show references]