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

19
LINES

< > BotCompany Repo | #1003642 - dataToTable_uneditable (Swing function)

JavaX fragment (include)

1  
static JTable dataToTable_uneditable(O data, final JTable table) {
2  
  ret dataToTable_uneditable(table, data);
3  
}
4  
5  
static JTable dataToTable_uneditable(final JTable table, final O data) {
6  
  if (table != null) swing {
7  
    dataToTable(table, data, true);
8  
    makeTableUneditable(table);
9  
  }
10  
  ret table;
11  
}
12  
13  
static JTable dataToTable_uneditable(final O data) {
14  
  ret dataToTable_uneditable(showTable(), data);
15  
}
16  
17  
static JTable dataToTable_uneditable(O data, S title) {
18  
  ret dataToTable_uneditable(showTable(title), data);
19  
}

Author comment

Began life as a copy of #1001613

download  show line numbers  debug dex   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1003642
Snippet name: dataToTable_uneditable (Swing function)
Eternal ID of this version: #1003642/3
Text MD5: 774d0ab7be3cf7753e0154aa6cbd389f
Author: stefan
Category: javax swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-12 12:56:41
Source code size: 537 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 474 / 536
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1003642 & http://1003642.tinybrain.de