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