* The Orders button was pressed.
* open the Orders dialog to get the players commands
*/
@Override
public void actionPerformed(ActionEvent e) {
GalacticController gc = (GalacticController)controller_;
gameChanged(null); // update the current player in the label
if (e.getSource() == commandButton_) {
// if the current player does not own any planets, then advance to the next player
if (Galaxy.getPlanets((GalacticPlayer) gc.getCurrentPlayer()).size() == 0) {
gc.advanceToNextPlayer();
}
showOrdersDialog(gc);
}
else if (e.getSource() == passButton_) {
gc.advanceToNextPlayer();
}
}