1 | static JComboBox jcombobox(fS... items) { |
2 | ret swing(func -> JComboBox { new JComboBox(items) }); |
3 | } |
4 | |
5 | static JComboBox jcombobox(Cl<S> items) { |
6 | ret jcombobox(toStringArray(items)); |
7 | } |
8 | |
9 | static JComboBox jcombobox(Cl<S> items, S selectedItem) { |
10 | ret selectItem(selectedItem, jcombobox(items)); |
11 | } |
12 | |
13 | static JComboBox jcombobox(S selectedItem, Cl<S> items) { |
14 | ret jcombobox(items, selectedItem); |
15 | } |
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: | 778 / 990 |
Version history: | 7 change(s) |
Referenced in: | [show references] |