static JComponent consoleInputFieldOrComboBox() { O console = get(getJavaX(), "console"); JComboBox cb = cast getOpt(console, 'cbInput); if (cb != null) ret cb; ret (JTextField) getOpt(console, "tfInput"); }
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: | 428 / 489 |
Referenced in: | [show references] |