public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
            Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);

            String data = tableModel.getValueAt(row, currentIndex).toString();

            if (isSelected) {
                c.setBackground(Color.YELLOW);
            } else {
                if (currentString == null || currentString.equals(""))
                    c.setBackground(Color.WHITE);
                else {
                    if (currentIndex != 4) {
                        if (data.toUpperCase().indexOf(currentString.toUpperCase()) > -1) {
                            c.setBackground(Color.PINK);
                        } else {
                            c.setBackground(Color.WHITE);
                        }
                    } else {
                        try {
                            double intVal = Double.parseDouble(data.trim());
                            double searchVal = Double.parseDouble(currentString.trim());
                            if (intVal == searchVal) {
                                c.setBackground(Color.PINK);
                            } else {
                                c.setBackground(Color.WHITE);
                            }
                        } catch (NumberFormatException nfe) {
                            c.setBackground(Color.WHITE);
                        }
                    }
                }
            }
            return c;
        }