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)

static JTable dataToTable_uneditable(O data, final JTable table) {
  ret dataToTable_uneditable(table, data);
}

static JTable dataToTable_uneditable(final JTable table, final O data) {
  if (table != null) swing {
    dataToTable(table, data, true);
    makeTableUneditable(table);
  }
  ret table;
}

static JTable dataToTable_uneditable(final O data) {
  ret dataToTable_uneditable(showTable(), data);
}

static JTable dataToTable_uneditable(O data, S title) {
  ret dataToTable_uneditable(showTable(title), data);
}

Author comment

Began life as a copy of #1001613

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, 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: 789 / 900
Version history: 2 change(s)
Referenced in: [show references]