@Override
  public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
      boolean hasFocus, int row, int column) {

      Object open = "Open";
      Object inprocess = "In process";
      lbl.setText((String) value);
      lbl.setOpaque(true);
      
      //set fore and background
        if(isSelected){           
	    lbl.setBackground(table.getSelectionBackground());
	    lbl.setForeground(table.getSelectionForeground());
	} else{
	    lbl.setBackground(table.getBackground());
            lbl.setForeground(table.getForeground());
	}
        
      //set icons for each status
      if (value.equals(open)) {
          lbl.setIcon(icon_open);
          return lbl;
      } else if (value.equals(inprocess)) {
          lbl.setIcon(icon_inprocess);
          return lbl;
      } else {
          lbl.setIcon(icon_closed);
          return lbl;
      }
      
   }