choicePanel.add(m_camoChoices[x]);
    public ScenarioDialog(Frame frame, Player[] pa)    {        super(frame, "Set Scenario Players...", true);        m_frame = frame;        m_players = pa;        m_labels = new Label[pa.length];        m_typeChoices = new Choice[pa.length];        m_colorChoices = new Choice[pa.length];        playerTypes = new int[pa.length];        for (int x = 0; x < pa.length; x++) {            m_labels[x] = new Label(pa[x].getName(), Label.LEFT);            m_typeChoices[x] = new Choice();            m_typeChoices[x].add("Me");            m_typeChoices[x].add("Other Human");            m_typeChoices[x].add("Bot");            m_colorChoices[x] = new Choice();            for (int i = 0; i < Player.colorNames.length; i++) {                m_colorChoices[x].add(Player.colorNames[i]);            }            m_colorChoices[x].select(x);        }        setLayout(new BorderLayout());        Panel choicePanel = new Panel();        choicePanel.setLayout(new GridLayout(pa.length + 1, 3));        choicePanel.add(new Label("Player"));        choicePanel.add(new Label("Type"));        choicePanel.add(new Label("Color"));        for (int x = 0; x < pa.length; x++) {            choicePanel.add(m_labels[x]);            choicePanel.add(m_typeChoices[x]);            choicePanel.add(m_colorChoices[x]);        }        add(choicePanel, BorderLayout.CENTER);        Panel butPanel = new Panel();        butPanel.setLayout(new FlowLayout(FlowLayout.CENTER));        Button bOkay = new Button("Okay");        bOkay.setActionCommand("okay");        bOkay.addActionListener(this);        Button bCancel = new Button("Cancel");        bCancel.setActionCommand("cancel");        bCancel.addActionListener(this);        butPanel.add(bOkay);        butPanel.add(bCancel);        add(butPanel, BorderLayout.SOUTH);        pack();        setResizable(false);        setLocation(frame.getLocation().x + frame.getSize().width/2 - getSize().width/2,                    frame.getLocation().y + frame.getSize().height/2 - getSize().height/2);    }