19 package org.sleuthkit.autopsy.guiutils;
21 import java.awt.Component;
22 import java.text.SimpleDateFormat;
23 import javax.swing.JTable;
24 import static javax.swing.SwingConstants.CENTER;
35 private static final SimpleDateFormat
dateFormat =
new SimpleDateFormat(FORMAT_STRING);
38 setHorizontalAlignment(CENTER);
44 setText(dateFormat.format(value));
Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
static final SimpleDateFormat dateFormat
void grayCellIfTableNotEnabled(JTable table, boolean isSelected)
static final String FORMAT_STRING
static final long serialVersionUID