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

7
LINES

< > BotCompany Repo | #1017356 // jcombobox_withEmpty - add empty item on top

JavaX fragment (include)

static JComboBox jcombobox_withEmpty(fS... items) {
  ret jcombobox(concatStringArrays(new S[] {""}, items));
}

static JComboBox jcombobox_withEmpty(Collection<S> items) {
  ret jcombobox_withEmpty(toStringArray(items));
}

Author comment

Began life as a copy of #1005084

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017356
Snippet name: jcombobox_withEmpty - add empty item on top
Eternal ID of this version: #1017356/1
Text MD5: 155298fd42f77a4ea4ba713a85dbbd5e
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-18 12:12:04
Source code size: 229 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 258 / 289
Referenced in: [show references]