c.weighty = 0.0; gridbag.setConstraints(heatL, c); add(heatL);  c.insets = new Insets(1, 9, 18, 9); c.weighty = 1.0; gridbag.setConstraints(heatR, c); add(heatR);
    public ExtraPanel(ClientGUI clientgui) {        super();        this.clientgui = clientgui;        FontMetrics fm = getFontMetrics(FONT_VALUE);        narcLabel = new TransparentLabel            ("Affected By:", fm, Color.white,TransparentLabel.CENTER);        narcList = new List(3, false);        narcList.addKeyListener(clientgui.menuBar);        // transport stuff        //unusedL = new Label( "Unused Space:", Label.CENTER );        unusedL = new TransparentLabel            ("Unused Space:", fm, Color.white,TransparentLabel.CENTER);        unusedR = new TextArea("", 2, 25, TextArea.SCROLLBARS_VERTICAL_ONLY);        unusedR.setEditable(false);        unusedR.addKeyListener(clientgui.menuBar);        carrysL = new TransparentLabel            ( "Carrying:", fm, Color.white,TransparentLabel.CENTER);        carrysR = new TextArea("", 4, 25, TextArea.SCROLLBARS_VERTICAL_ONLY);        carrysR.setEditable(false);        carrysR.addKeyListener(clientgui.menuBar);        // layout choice panel        GridBagLayout gridbag = new GridBagLayout();        GridBagConstraints c = new GridBagConstraints();        gridbag = new GridBagLayout();        c = new GridBagConstraints();        setLayout(gridbag);        c.fill = GridBagConstraints.BOTH;        c.insets = new Insets(15, 9, 1, 9);        c.gridwidth = GridBagConstraints.REMAINDER;        c.anchor = GridBagConstraints.CENTER;        c.weightx = 1.0;        c.weighty = 0.0;        gridbag.setConstraints(narcLabel, c);        add(narcLabel);        c.insets = new Insets(1, 9, 1, 9);        c.weighty = 1.0;        gridbag.setConstraints(narcList, c);        add(narcList);        c.weighty = 0.0;        gridbag.setConstraints(unusedL, c);        add(unusedL);        c.weighty = 1.0;        gridbag.setConstraints(unusedR, c);        add(unusedR);        c.weighty = 0.0;        gridbag.setConstraints(carrysL, c);        add(carrysL);        c.insets = new Insets(1, 9, 18, 9);        c.weighty = 1.0;        gridbag.setConstraints(carrysR, c);        add(carrysR);        setBackGround();    }