static void consoleAddSendButton() { consoleAddSendButton("Send"); } static void consoleAddSendButton(fS buttonText) { if (headless()) ret; awtReplaceComponent(consoleInputFieldOrComboBox(), func(Component c) { centerAndEast(c, withLeftMargin(jbutton(buttonText, f consoleSend))) }); focusConsole(); consoleSelectAll(); }
Began life as a copy of #1007746
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: | #1010276 |
Snippet name: | consoleAddSendButton |
Eternal ID of this version: | #1010276/5 |
Text MD5: | c47ecb55d5d6dd9585f8407defa703fc |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-03 01:20:30 |
Source code size: | 349 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 514 / 548 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |