ce.getShortName(), doors * 2, bayNum });
for (int loop = 0; loop < names.length; loop++) {
names[loop] = currentFighters.elementAt(loop)
.getShortName();
}
ChoiceDialog choiceDialog = new ChoiceDialog(
clientgui.frame,
Messages
.getString(
"MovementDisplay.LaunchFighterDialog.title", new Object[] { //$NON-NLS-1$
currentBay.getType(), bayNum }),
question, names);
choiceDialog.setVisible(true);
if (choiceDialog.getAnswer() == true) {
// load up the choices
int[] unitsLaunched = choiceDialog.getChoices();
for (int element : unitsLaunched) {
bayChoices.add(currentFighters.elementAt(element)
.getId());
}
choices.put(i, bayChoices);