gbc.fill = gbc.BOTH; gbc.anchor = gbc.EAST;
gbc.fill = GridBagConstraints.BOTH; gbc.anchor = GridBagConstraints.EAST;
    protected void layoutWidgets() {        setLayout(new BorderLayout());        JPanel valuePane = new JPanel();        valuePane.setLayout(new GridBagLayout());        GridBagConstraints gbc = new GridBagConstraints();        gbc.fill = gbc.BOTH;        gbc.anchor = gbc.EAST;        gbc.weightx = 1;        gbc.weighty = 1;        gbc.insets = new Insets(ypadding, xpadding, ypadding, xpadding);        for (int j = 0; j < numValues; j++) {	    // name of he X/Y axis paramters	    gbc.gridx = 0;	    gbc.gridy = j;	    gbc.gridwidth = 1;	    gbc.gridheight = 1;	    valuePane.add(valueLabels[j], gbc);	    // X/Y axis value	    gbc.gridx = 1;	    gbc.gridy = j;	    gbc.gridwidth = 1;	    gbc.gridheight = 1;	    valuePane.add(values[j], gbc);	}        add(valuePane, BorderLayout.EAST);        add(getJLabel(), BorderLayout.NORTH);        add(envelopeCanvas, BorderLayout.CENTER);    }