static JButton selectedRowCountListButton(final JList list, final JButton b) { fS text = getText(b); list.getSelectionModel().addListSelectionListener(new ListSelectionListener { public void valueChanged(ListSelectionEvent e) { selectedRowCountListButton_update(list, b, text); } }); selectedRowCountListButton_update(list, b, text); ret b; }
Began life as a copy of #1014251
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: | #1014368 |
| Snippet name: | selectedRowCountListButton - adds selected row count to button text |
| Eternal ID of this version: | #1014368/2 |
| Text MD5: | 0432d82fe4fe05ea754af40faf77540c |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-20 16:51:21 |
| Source code size: | 375 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 599 / 649 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014370 - selectedRowCountListButton_min - adds selected row count to button text, requires minimum number of selected lines to enable |