1 | static JComponent consoleInputFieldOrComboBox() { |
2 | O console = get(getJavaX(), "console"); |
3 | JComboBox cb = cast getOpt(console, 'cbInput); |
4 | if (cb != null) ret cb; |
5 | ret (JTextField) getOpt(console, "tfInput"); |
6 | } |
Began life as a copy of #1004139
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: | #1010522 |
Snippet name: | consoleInputFieldOrComboBox - get JavaX console input field |
Eternal ID of this version: | #1010522/1 |
Text MD5: | ef60852b68562fa8313f318113e32876 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-19 21:33:38 |
Source code size: | 220 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 430 / 492 |
Referenced in: | [show references] |