m_bDumpAmmo = new Button("Dump");
m_bDumpAmmo = new Button(Messages.getString("MechDisplay.m_bDumpAmmo"));
    public SystemPanel(ClientGUI clientgui) {        super();        FontMetrics fm = getFontMetrics(FONT_VALUE);        this.clientgui = clientgui;        locLabel = new TransparentLabel("Location", fm, Color.white,TransparentLabel.CENTER);        slotLabel = new TransparentLabel("Slot", fm, Color.white,TransparentLabel.CENTER);        locList = new List(8, false);        locList.addItemListener(this);        locList.addKeyListener(clientgui.menuBar);        slotList = new List(12, false);        slotList.addItemListener(this);        slotList.addKeyListener(clientgui.menuBar);        //slotList.setEnabled(false);        m_chMode = new Choice();        m_chMode.add("   ");        m_chMode.setEnabled(false);        m_chMode.addItemListener(this);        m_chMode.addKeyListener(clientgui.menuBar);        m_bDumpAmmo = new Button("Dump");        m_bDumpAmmo.setEnabled(false);        m_bDumpAmmo.setActionCommand("dump");        m_bDumpAmmo.addActionListener(this);        m_bDumpAmmo.addKeyListener(clientgui.menuBar);        modeLabel = new TransparentLabel("Mode", fm, Color.white,TransparentLabel.RIGHT);        //modeLabel.setEnabled(false);        // layout main panel        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        setLayout(gridbag);        c.fill = GridBagConstraints.BOTH;        c.insets = new Insets(15, 9, 1, 1);        c.gridy = 0; c.gridx = 0;        c.weightx = 0.5;    c.weighty = 0.0;        c.gridwidth = 1; c.gridheight = 1;        gridbag.setConstraints(locLabel, c);        add(locLabel);        c.weightx = 0.0;        c.gridy = 0; c.gridx = 1;        c.gridwidth = GridBagConstraints.REMAINDER;        c.insets = new Insets(15, 1, 1, 9);        gridbag.setConstraints(slotLabel, c);        add(slotLabel);        c.weightx = 0.5;        //c.weighty = 1.0;        c.gridy = 1; c.gridx = 0;        c.gridwidth = 1;        c.insets = new Insets(1, 9, 15, 1);        c.gridheight = GridBagConstraints.REMAINDER;        gridbag.setConstraints(locList, c);        add(locList);        c.gridwidth = GridBagConstraints.REMAINDER;        c.gridheight = 1;        c.gridy = 1;        c.gridx = 1;        c.weightx = 0.0;        c.weighty = 1.0;        c.insets = new Insets(1, 1, 1, 9);        gridbag.setConstraints(slotList, c);        add(slotList);        c.gridwidth = 1;        c.gridy = 2;        c.gridx = 1;        c.weightx = 0.0;        c.weighty = 0.0;        gridbag.setConstraints(modeLabel, c);        c.insets = new Insets(1, 1, 1, 1);        add(modeLabel);        c.weightx = 1.0;        c.gridwidth = GridBagConstraints.REMAINDER;        c.gridy = 2;        c.gridx = 2;        c.insets = new Insets(1, 1, 1, 9);        gridbag.setConstraints(m_chMode, c);        add(m_chMode);        c.gridwidth = GridBagConstraints.REMAINDER;        c.gridheight = GridBagConstraints.REMAINDER;        c.gridy = 3;        c.gridx = 1;        c.insets = new Insets(4, 4, 15, 9);        gridbag.setConstraints(m_bDumpAmmo, c);        add(m_bDumpAmmo);        setBackGround();    }