I'm getting data for the DB and displaying in a table.
My getColumnClass is
@Override
public Class<? extends Object> getColumnClass(int column) {
return getValueAt(0, column).getClass();
}
when I print the value, I get the class name as java.sql.Timestamp, but when it display I'm have a problem, it just display dd/MM/yyyy, but I need it to display dd/MM/yyyy HH:mm, how can I achieve this?
Apart from doing this, I need to check if the datatime is lesser than today then disable the row