public void setValue(Map values,JTable accountTable){

       clearValue();
       System.out.println("values.size():"+values.size());
       Set set = values.keySet();
       Iterator iterator = set.iterator();
       int i=0;
       data = new Object[values.size()][];
       while(iterator.hasNext()){
           String key = (String)iterator.next();
           String[] row = (String[])values.get(key);
           data[i] = row;
           i++;
       }

       /*RowSorter<TableModel> sorter =
             new TableRowSorter<TableModel>(this);
           accountTable.setRowSorter(sorter);*/

      TableColumnModel tcm = accountTable.getColumnModel();
      System.out.println("accountTable.getColumn(2)"+tcm.getColumnCount());
      if(tcm.getColumnCount()==4){
        accountTable.removeColumn(tcm.getColumn(3));
      }
      if(tcm.getColumnCount()==3){
          accountTable.removeColumn(tcm.getColumn(2));
      }
      
      fireTableDataChanged();
        }