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

6
LINES

< > BotCompany Repo | #1015285 // onSelectionChangedAndNow - for JList

JavaX fragment (include)

1  
static void onSelectionChangedAndNow(final JList list, final VF1<S> f) {
2  
  if (list != null && f != null) swing {
3  
    onSelectionChanged(list, f);
4  
    pcallF(f, getSelectedItem(list));
5  
  }
6  
}

Author comment

Began life as a copy of #1015283

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015285
Snippet name: onSelectionChangedAndNow - for JList
Eternal ID of this version: #1015285/1
Text MD5: 10d011048b6c7e4292cc3d7474daec53
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-11 13:30:17
Source code size: 195 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 390 / 404
Referenced in: [show references]