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

10
LINES

< > BotCompany Repo | #1014251 // selectedRowCountTableButton - adds selected row count to button text - see tableDependButtons

JavaX fragment (include)

1  
static JButton selectedRowCountTableButton(final JTable table, final JButton b) {
2  
  fS text = getText(b);
3  
  table.getSelectionModel().addListSelectionListener(new ListSelectionListener {
4  
    public void valueChanged(ListSelectionEvent e) {
5  
      selectedRowCountTableButton_update(table, b, text);
6  
    }
7  
  });
8  
  selectedRowCountTableButton_update(table, b, text);
9  
  ret b;
10  
}

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: #1014251
Snippet name: selectedRowCountTableButton - adds selected row count to button text - see tableDependButtons
Eternal ID of this version: #1014251/2
Text MD5: e1f0af775de7be2994370b96815994aa
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-17 16:39:36
Source code size: 383 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 524 / 516
Version history: 1 change(s)
Referenced in: [show references]