wPan = new WeaponPanel(clientgui);
wPan = new WeaponPanel(clientgui, this);
    public MechDisplay(ClientGUI clientgui) {        super(new GridBagLayout());        this.clientgui = clientgui;        this.client = clientgui.getClient();        tabStrip = new MechPanelTabStrip(this);        displayP = new BufferedPanel(new CardLayout());        mPan = new MovementPanel();        displayP.add("movement", mPan); //$NON-NLS-1$        aPan = new ArmorPanel();        displayP.add("armor", aPan); //$NON-NLS-1$        wPan = new WeaponPanel(clientgui);        displayP.add("weapons", wPan); //$NON-NLS-1$        sPan = new SystemPanel(clientgui);        displayP.add("systems", sPan); //$NON-NLS-1$        ePan = new ExtraPanel(clientgui);        displayP.add("extras", ePan); //$NON-NLS-1$        // layout main panel        GridBagConstraints c = new GridBagConstraints();        c.fill = GridBagConstraints.BOTH;        c.insets = new Insets(4, 1, 0, 1);        c.weightx = 1.0;    c.weighty = 0.0;        c.gridwidth = GridBagConstraints.REMAINDER;        addBag(tabStrip, c);        c.insets = new Insets(0, 1, 1, 1);        c.weighty = 1.0;        addBag(displayP, c);        ((CardLayout)displayP.getLayout()).show(displayP, "movement"); //$NON-NLS-1$        //tabStrip.setTab(0);                clientgui.mechW.addKeyListener(clientgui.menuBar);    }