c.gridwidth = 1; c.weightx = 0.0;    c.weighty = 0.0; gridbag.setConstraints(labCamo, c); panPlayerInfo.add(labCamo);  c.gridwidth = GridBagConstraints.REMAINDER; c.weightx = 1.0;    c.weighty = 0.0; gridbag.setConstraints(choCamo, c); panPlayerInfo.add(choCamo);
    private void setupPlayerInfo() {        panPlayerInfo = new Panel();                labPlayerInfo = new Label("Player Setup");                lisPlayerInfo = new List(5);                labColor = new Label("Color:", Label.RIGHT);        labTeam = new Label("Team:", Label.RIGHT);                        choColor = new Choice();        choColor.addItemListener(this);        setupColors();                        choTeam = new Choice();        choTeam.addItemListener(this);        setupTeams();                // layout        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        panPlayerInfo.setLayout(gridbag);                    c.fill = GridBagConstraints.VERTICAL;        c.insets = new Insets(1, 1, 1, 1);        c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = GridBagConstraints.REMAINDER;        gridbag.setConstraints(labPlayerInfo, c);        panPlayerInfo.add(labPlayerInfo);                c.fill = GridBagConstraints.BOTH;        c.weightx = 1.0;    c.weighty = 1.0;        gridbag.setConstraints(lisPlayerInfo, c);        panPlayerInfo.add(lisPlayerInfo);        c.gridwidth = 1;        c.weightx = 0.0;    c.weighty = 0.0;        gridbag.setConstraints(labColor, c);        panPlayerInfo.add(labColor);                    c.gridwidth = GridBagConstraints.REMAINDER;        c.weightx = 1.0;    c.weighty = 0.0;        gridbag.setConstraints(choColor, c);        panPlayerInfo.add(choColor);                    c.gridwidth = 1;        c.weightx = 0.0;    c.weighty = 0.0;        gridbag.setConstraints(labTeam, c);        panPlayerInfo.add(labTeam);                    c.gridwidth = GridBagConstraints.REMAINDER;        c.weightx = 1.0;    c.weighty = 0.0;        gridbag.setConstraints(choTeam, c);        panPlayerInfo.add(choTeam);                refreshPlayerInfo();    }