Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1013481 // onEnterWithClose (JComboBox)

JavaX fragment (include)

// editable only
static JComboBox onEnterWithClose(final JComboBox cb, fO action) {
  JTextField text = (JTextField) cb.getEditor().getEditorComponent();
  onEnter(text, r {
    cb.hidePopup();
    callF(action);
  });
  ret cb;
}

Author comment

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: 441 / 447
Version history: 1 change(s)
Referenced in: [show references]