@Override
	public Component getTableCellRendererComponent(JTable table, Object value,
			boolean isSelected, boolean hasFocus, int row, int column) {
		
		setFont(table.getFont());
		
		//TODO: change this to a way where I don't have to put in numbers one by one
		if (column == 1)
		{
			if ((double) value < profitRatioLessBad)
			{
				setForeground(colorBad);
				setBackground(colorBadBackground);
			}
			else if ((double) value > profitRatioMoreGood)
			{
				setForeground(colorGood);
				setBackground(colorGoodBackground);
			}
			else
			{
				setForeground(colorNeutral);
				setBackground(colorNeutralBackground);
			}
		}
		else if (column == 2)
		{
			if ((double) value > lastUpdatedMoreBad)
			{
				setForeground(colorBad);
				setBackground(colorBadBackground);
			}
			else
			{
				setForeground(colorNeutral);
				setBackground(colorNeutralBackground);
			}
		}
			
		setText(nf.format(value));
		
		return this;
	}