tableColumn.setCellRenderer(new DefaultTableCellRenderer(){public Component getTableCellRendererComponent(JTable table,
						Object value, boolean isSelected, boolean hasFocus,
						int row, int column) {
				DefaultTableCellRenderer comp = (DefaultTableCellRenderer) super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
				if (value instanceof JLabel) {
					JLabel label = (JLabel) value;
					comp.setText(label.getText());
					if (!isSelected) {
						comp.setBackground(label.getBackground());
						comp.setForeground(label.getForeground());
					}
				}
				return comp;
			}}