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

3
LINES

< > BotCompany Repo | #1014830 // listDependentButton - enable button when an item is selected in a JList

JavaX fragment (include)

static JButton listDependentButton(JList l, S text, O action) {
  ret listDependButton(l, jbutton(text, action));
}

Author comment

Began life as a copy of #1005361

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: #1014830
Snippet name: listDependentButton - enable button when an item is selected in a JList
Eternal ID of this version: #1014830/3
Text MD5: 55ff19160893483e9acd470c384416c1
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-04 10:25:48
Source code size: 117 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 473 / 484
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1016591 - tableDependentButton - enable button when an item is selected in a JTable