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

15
LINES

< > BotCompany Repo | #1008716 // autoComboBox

JavaX fragment (include)

static AutoComboBox autoComboBox() {
  ret autoComboBox(new L);
}

static AutoComboBox autoComboBox(final Collection<S> items) {
  ret swing(func -> AutoComboBox {
    new AutoComboBox cb;
    cb.setKeyWord(items);
    ret cb;
  });
}

static AutoComboBox autoComboBox(S value, Collection<S> items) {
  ret setText(autoComboBox(items), value);
}

Author comment

Began life as a copy of #1007534

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: #1008716
Snippet name: autoComboBox
Eternal ID of this version: #1008716/6
Text MD5: b64d25238d144c2ab301b818a46f2e35
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-19 19:10:05
Source code size: 359 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 591 / 663
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012960 - autoComboBox2