newData.removeAllElements();
    public void applyFilter(String text, int colIndex){        Vector tmp = new Vector();        tmp = tModel.getDataVector();                for (int i=0; i<data.size(); i++) {            tmp = (Vector) data.get(i);            String txt = (String)tmp.get(colIndex);            if ((txt.compareToIgnoreCase(text)) == 0) {                newData.add(tmp);            }                    }     tModel.changeDisplayRows(newData);     newData.removeAllElements();    }