public void actionPerformed(ActionEvent event) {
        String command = event.getActionCommand();
        // Close any open Europe Dialog, and show new one if required
        EuropeAction act = EuropeAction.valueOf(command);
        getGUI().showEuropeDialog(act);
        switch (act) {
        case EXIT:
            exitAction();
            break;
        case RECRUIT: case PURCHASE: case TRAIN:
            requestFocus(); // handled by docks panel
            break;
        case UNLOAD:
            unloadAction();
            break;
        case SAIL:
            sailAction();
            break;
        default:
            logger.warning("Invalid action command: " + command);
        }
    }