1 | static <A> JComboBox<A> setSelectedItem(A item, JComboBox<A> cb) { |
2 | ret selectItem(item, cb); |
3 | } |
4 | |
5 | |
6 | |
7 | static <A> JComboBox<A> setSelectedItem(JComboBox<A> cb, A item) { |
8 | ret selectItem(cb, item); |
9 | } |
10 | |
11 | |
12 | |
13 | static <A> JList<A> setSelectedItem(JList<A> list, A item) { |
14 | ret selectItem(list, item); |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033918 |
Snippet name: | setSelectedItem - synonym of selectItem |
Eternal ID of this version: | #1033918/1 |
Text MD5: | 9ba3384b12a405bafda00023f44e9509 |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-11 17:02:49 |
Source code size: | 296 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 147 / 170 |
Referenced in: | [show references] |