1 | // editable only |
2 | static JComboBox onEnterWithClose(final JComboBox cb, fO action) {
|
3 | JTextField text = (JTextField) cb.getEditor().getEditorComponent(); |
4 | onEnter(text, r {
|
5 | cb.hidePopup(); |
6 | callF(action); |
7 | }); |
8 | ret cb; |
9 | } |
Began life as a copy of #1001788
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: | #1013481 |
| Snippet name: | onEnterWithClose (JComboBox) |
| Eternal ID of this version: | #1013481/2 |
| Text MD5: | 630c73af17c69bf32435ea446fa70363 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-01-07 14:42:44 |
| Source code size: | 238 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 653 / 667 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |