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)

static JButton selectedRowCountTableButton(final JTable table, final JButton b) {
  fS text = getText(b);
  table.getSelectionModel().addListSelectionListener(new ListSelectionListener {
    public void valueChanged(ListSelectionEvent e) {
      selectedRowCountTableButton_update(table, b, text);
    }
  });
  selectedRowCountTableButton_update(table, b, text);
  ret b;
}

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: 522 / 513
Version history: 1 change(s)
Referenced in: [show references]