Download Jar. Uses 3874K of libraries. Click here for Pure Java version (6035L/41K).
!7 p-substance { final JComboBox cbBot = jBotSelector(); final JTextField tfCmd = jtextfield(); final JTextField tfOutput = jdisabledtextfield(); setFrameWidth(800, showFormTitled("Send Command To Bot", "Bot:", cbBot, "Command:", tfCmd, "Result:", tfOutput, r-thread { loading { S cmd = getText(tfCmd); setText(tfOutput, "Sending " + singleQuote(cmd) + "..."); S address = botSelector_getAddress(cbBot); print("Sending to: " + address); setText(tfOutput, send(address, cmd)); } })); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): cfunsshuasjs, mqqgnosmbjvj, onxytkatvevr, tvejysmllsmz
No comments. add comment
Snippet ID: | #1009084 |
Snippet name: | Swing: Send To Bot [dev.] |
Eternal ID of this version: | #1009084/7 |
Text MD5: | 1db3946d3efbc13f2b4bb9c70ab7cb11 |
Transpilation MD5: | 00238621f4a9289ebc18f2a39f32d1cf |
Author: | stefan |
Category: | javax / desktop / bots |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | Yes |
Created/modified: | 2017-07-02 17:17:52 |
Source code size: | 583 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 511 / 1128 |
Version history: | 6 change(s) |
Referenced in: | [show references] |