g.weightx = 0;
g.fill = GridBagConstraints.NONE;
layout.setConstraints(c, g);
panel.add(c);
xName = new DataComboBox(data);
g.gridx = 1;
g.gridwidth = 3;
g.weightx = 0;
g.fill = GridBagConstraints.HORIZONTAL;
layout.setConstraints(xName, g);
panel.add(xName);
xName.setToolTipText(resources.getString("X_Description"));
xName.addActionListener(this);
g.gridy++; // new row
c = new JLabel(resources.getString("Y_Label"));
g.gridx = 0;
g.gridwidth = 1;
g.weightx = 0;
g.fill = GridBagConstraints.NONE;
layout.setConstraints(c, g);
panel.add(c);
yName = new DataComboBox(data);
g.gridx = 1;
g.gridwidth = 3;
g.weightx = 0;
g.anchor = GridBagConstraints.WEST;
g.fill = GridBagConstraints.HORIZONTAL;