@Override
public PlayerList getPlayers() {
TableModel model = table_.getModel();
int nRows = model.getRowCount();
PlayerList players = new PlayerList();
for (int i=0; i<nRows; i++) {
char planetName = (Character) model.getValueAt(i, HOME_PLANET_INDEX);
Planet planet = Galaxy.getPlanet(planetName);
planet.setProductionCapacity((Integer) model.getValueAt(i, PRODUCTION_INDEX));
planet.setNumShips((Integer) (model.getValueAt(i, NUM_SHIPS_INDEX)));
ImageIcon icon = (ImageIcon) (model.getValueAt(i, ICON_INDEX));
players.add(GalacticPlayer.createGalacticPlayer(
(String) model.getValueAt(i, NAME_INDEX),
planet,
(Color) model.getValueAt(i, COLOR_INDEX),
((Boolean) model.getValueAt(i, HUMAN_INDEX)), icon));
}