public void removeRow(WorkspaceComponent component){
  data.remove(component);
  fireTableStructureChanged();
}

public void removeRow ( WorkspaceComponent component ) { data . remove ( component ) ; fireTableStructureChanged ( ) ; }
remove a component from the list .
