c.insets = new Insets(1, 1, 1, 1);
c.insets = new Insets(4, 1, 0, 1);
    public MechDisplay(Client client) {        super(new GridBagLayout());                this.client = client;        movBut = new Button("Movement");        movBut.addActionListener(this);        armBut = new Button("Armor");        armBut.addActionListener(this);        weaBut = new Button("Weapons");        weaBut.addActionListener(this);        criBut = new Button("Systems");        criBut.addActionListener(this);        extBut = new Button("Extras");        extBut.addActionListener(this);                displayP = new Panel(new CardLayout());        mPan = new MovementPanel();        displayP.add("movement", mPan);        aPan = new ArmorPanel();        displayP.add("armor", aPan);        wPan = new WeaponPanel(client);        displayP.add("weapons", wPan);        sPan = new SystemPanel(client);        displayP.add("systems", sPan);        ePan = new ExtraPanel(client);        displayP.add("extras", ePan);                // layout main panel        GridBagConstraints c = new GridBagConstraints();        c.fill = GridBagConstraints.BOTH;        c.insets = new Insets(1, 1, 1, 1);                c.weightx = 1.0;    c.weighty = 0.0;        addBag(movBut, c);                addBag(armBut, c);                addBag(weaBut, c);                addBag(criBut, c);                c.gridwidth = GridBagConstraints.REMAINDER;        addBag(extBut, c);                c.weightx = 1.0;    c.weighty = 1.0;        addBag(displayP, c);                ((CardLayout)displayP.getLayout()).show(displayP, "movement");    }