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

15
LINES

< > BotCompany Repo | #1005084 // jcombobox

JavaX fragment (include)

static JComboBox jcombobox(fS... items) {
  ret swing(func -> JComboBox { new JComboBox(items) });
}

static JComboBox jcombobox(Cl<S> items) {
  ret jcombobox(toStringArray(items));
}

static JComboBox jcombobox(Cl<S> items, S selectedItem) {
  ret selectItem(selectedItem, jcombobox(items));
}

static JComboBox jcombobox(S selectedItem, Cl<S> items) {
  ret jcombobox(items, selectedItem);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005084
Snippet name: jcombobox
Eternal ID of this version: #1005084/8
Text MD5: 0678b8a82bf7fc2bdce23ff362b04761
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-27 03:20:48
Source code size: 408 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 776 / 988
Version history: 7 change(s)
Referenced in: [show references]