×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Massimo Zappino
Added: May 9, 2016 1:03 PM
Modified: Aug 27, 2017 3:32 PM
Views: 1948
Tags: jtable
  1. //remove the column from the view
  2.  
  3. table.removeColumn(table.getColumnModel().getColumn(3));
  4.  
  5. // retrieve the data from the model.
  6.  
  7. table.getModel().getValueAt(table.getSelectedRow(), 3);