Libraryless. Click here for Pure Java version (2999L/18K).
static <A> JComboBox<A> jTypedComboBox(Cl<A> items) { ret swing(() -> new JComboBox<A>(toVector(items))); } static <A> JComboBox<A> jTypedComboBox(Cl<A> items, A selectedItem) { ret selectItem(selectedItem, jTypedComboBox(items)); }
Began life as a copy of #1005084
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030793 |
| Snippet name: | jTypedComboBox |
| Eternal ID of this version: | #1030793/2 |
| Text MD5: | 425c5404cc47fa1f0a70037096ad7b6b |
| Transpilation MD5: | dbcfdd1d100bf7dcb09a8a961e79cba7 |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-03-26 15:10:56 |
| Source code size: | 243 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 469 / 632 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |