The getColumnClass
method returns the data type of the specified column. To keep things simple, this method returns the String
class, thereby converting all data in the table into String
objects. The JTable
class uses this method to determine how to render data in the GUI application.
public Class getColumnClass(int column) { return String.class; }
No comments:
Post a Comment