}
if (clientgui.getClient().game.getOptions().booleanOption("maxtech_hotload") && curType.hasFlag(AmmoType.F_HOTLOAD) ) { c.gridx = 0; c.gridy = 2; c.anchor = GridBagConstraints.EAST; g.setConstraints(labHotLoad, c); add(labHotLoad); c.gridx = 1; c.gridy = 2; c.anchor = GridBagConstraints.WEST; g.setConstraints(chHotLoad, c); add(chHotLoad); } }else if (clientgui.getClient().game.getOptions().booleanOption("maxtech_hotload") && curType.hasFlag(AmmoType.F_HOTLOAD) ) { c.gridx = 0; c.gridy = 1; c.anchor = GridBagConstraints.EAST; g.setConstraints(labHotLoad, c); add(labHotLoad); c.gridx = 1; c.gridy = 1; c.anchor = GridBagConstraints.WEST; g.setConstraints(chHotLoad, c); add(chHotLoad); }
        MunitionChoicePanel(Mounted m, ArrayList vTypes) {            m_vTypes = vTypes;            m_mounted = m;            AmmoType curType = (AmmoType) m.getType();            m_choice = new JComboBox();            Iterator e = m_vTypes.iterator();            for (int x = 0; e.hasNext(); x++) {                AmmoType at = (AmmoType) e.next();                m_choice.addItem(at.getName());                if (at.getMunitionType() == curType.getMunitionType()) {                    m_choice.setSelectedIndex(x);                }            }            int loc;            if (m.getLocation() == Entity.LOC_NONE) {                // oneshot weapons don't have a location of their own                Mounted linkedBy = m.getLinkedBy();                loc = linkedBy.getLocation();            } else {                loc = m.getLocation();            }            String sDesc = '(' + entity.getLocationAbbr(loc) + ')'; //$NON-NLS-1$ //$NON-NLS-2$            JLabel lLoc = new JLabel(sDesc);            GridBagLayout g = new GridBagLayout();            setLayout(g);            GridBagConstraints c = new GridBagConstraints();            c.gridx = 0;            c.gridy = 0;            c.anchor = GridBagConstraints.EAST;            g.setConstraints(lLoc, c);            add(lLoc);            c.gridx = 1;            c.gridy = 0;            c.anchor = GridBagConstraints.WEST;            g.setConstraints(m_choice, c);            add(m_choice);            if (clientgui.getClient().game.getOptions().booleanOption("lobby_ammo_dump")) { //$NON-NLS-1$                c.gridx = 0;                c.gridy = 1;                c.anchor = GridBagConstraints.EAST;                g.setConstraints(labDump, c);                add(labDump);                c.gridx = 1;                c.gridy = 1;                c.anchor = GridBagConstraints.WEST;                g.setConstraints(chDump, c);                add(chDump);            }        }