public Component getTableCellRendererComponent(JTable table, Object object, boolean isSelected, boolean hasFocus, int row, int column)
if (object == null) return this;column = table.convertColumnIndexToModel(column);if (column == 5){ if (((Double)object).compareTo(new Double(0)) < 0){ setBackground(Color.GREEN); } }return this;}