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) {
  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   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1003642
Snippet name: dataToTable_uneditable (Swing function)
Eternal ID of this version: #1003642/2
Text MD5: 5b102cde6ec9c6ce48f9342b1dcf5f77
Author: stefan
Category: javax swing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-04 16:00:17
Source code size: 518 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 443 / 494
Version history: 1 change(s)
Referenced in: [show references]

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