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

7
LINES

< > BotCompany Repo | #1015216 // selectedItem - synonym of getSelectedItem - for JList/JComboBox

JavaX fragment (include)

1  
static S selectedItem(JList l) {
2  
  ret getSelectedItem(l);
3  
}
4  
5  
static S selectedItem(JComboBox cb) {
6  
  ret getSelectedItem(cb);
7  
}

Author comment

Began life as a copy of #1004939

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015216
Snippet name: selectedItem - synonym of getSelectedItem - for JList/JComboBox
Eternal ID of this version: #1015216/1
Text MD5: 0c8a72f14706e917103b90ccecb21b02
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-10 20:10:44
Source code size: 134 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 1234
Referenced in: [show references]