1 | static JButton selectedRowCountListButton(final JList list, final JButton b) {
|
2 | fS text = getText(b); |
3 | list.getSelectionModel().addListSelectionListener(new ListSelectionListener {
|
4 | public void valueChanged(ListSelectionEvent e) {
|
5 | selectedRowCountListButton_update(list, b, text); |
6 | } |
7 | }); |
8 | selectedRowCountListButton_update(list, b, text); |
9 | ret b; |
10 | } |
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: | 598 / 648 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |