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

15
LINES

< > BotCompany Repo | #1033918 // setSelectedItem - synonym of selectItem

JavaX fragment (include)

static <A> JComboBox<A> setSelectedItem(A item, JComboBox<A> cb) {
  ret selectItem(item, cb);
}



static <A> JComboBox<A> setSelectedItem(JComboBox<A> cb, A item) {
  ret selectItem(cb, item);
}



static <A> JList<A> setSelectedItem(JList<A> list, A item) {
  ret selectItem(list, item);
}

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: 148 / 170
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)