DefaultTableModel coModel = (DefaultTableModel)container.getColumnOrderTable().getModel();
DefaultTableModel caModel = (DefaultTableModel)container.getColumnAllTable().getModel();
if ( (sourceTable == container.getColumnTable()) && (ordinaryTable == container.getColumnDisplayTable()) ) {
Column column = (Column)cModel.getValueAt(row, 0);
Vector rowData = new Vector();
rowData.add(column);
if (column.isCountble())
rowData.add(new Boolean(false));
else
rowData.add(null);
if (column.isSumble())
rowData.add(new Boolean(false));
else
rowData.add(null);
cdModel.addRow(rowData);
rowData = new Vector();
rowData.add(column);
cosModel.addRow(rowData);
cModel.removeRow(row);
} else if ( (sourceTable == container.getColumnDisplayTable()) && (ordinaryTable == container.getColumnTable()) ) {
Column column = (Column)cdModel.getValueAt(row, 0);
Vector rowData = new Vector();
rowData.add(column);
cModel.addRow(rowData);
int tempRow = findRow(column, container.getColumnOrderSourceTable());
if (tempRow != -1)
cosModel.removeRow(tempRow);
tempRow = findRow(column, container.getColumnOrderTable());
if (tempRow != -1)
coModel.removeRow(tempRow);
cdModel.removeRow(row);
} else if ( (sourceTable == container.getColumnOrderSourceTable()) && (ordinaryTable == container.getColumnOrderTable()) ) {
Column column = (Column)cosModel.getValueAt(row, 0);
Vector rowData = new Vector();
rowData.add(column);
rowData.add(new Boolean(false));
coModel.addRow(rowData);
cosModel.removeRow(row);
} else if ( (sourceTable == container.getColumnOrderTable()) && (ordinaryTable == container.getColumnOrderSourceTable()) ) {
Column column = (Column)coModel.getValueAt(row, 0);
Vector rowData = new Vector();
rowData.add(column);
cosModel.addRow(rowData);