public Component getTableCellRendererComponent(JTable pTable,
            Object pValue, boolean pSelected, boolean pHasFocus, int pRow,
            int pColumn) {
        pColumn = pTable.getColumnModel().getColumn(pColumn).getModelIndex();

        TableViewAdapter model = (TableViewAdapter) pTable.getModel();

        String search = model.getSearchText(pColumn);

        if (pTable != null) {
            JTableHeader header = pTable.getTableHeader();
            if (header != null) {
                setForeground(header.getForeground());
                setBackground(header.getBackground());
                //            setFont(header.getFont());
                Font font = new Font(header.getFont().getFontName(), Font.BOLD,
                        header.getFont().getSize());
                setFont(font);
            }
        }

        setText(pValue + (search == null ? "" : " (" + search + ")"));

        if (pColumn != model.getSortColumnIndex()) {
            setIcon(mNull);
        }
        else if (model.isAsendent()) {
            setIcon(mAscending);
        }
        else {
            setIcon(mDescending);
        }

        return this;
    }