add(labMessage);
CheckboxGroup radioGroup1 = new CheckboxGroup();
checkboxes1 = new Checkbox[2];
checkboxes1[0] = new Checkbox(
Messages.getString("LOSDialog.Mech"), mechInFirst, radioGroup1); //$NON-NLS-1$
c.gridwidth = 1;
c.anchor = GridBagConstraints.WEST;
gridbag.setConstraints(checkboxes1[0], c);
add(checkboxes1[0]);
checkboxes1[1] = new Checkbox(
Messages.getString("LOSDialog.NonMech"), !mechInFirst, radioGroup1); //$NON-NLS-1$
c.gridwidth = GridBagConstraints.REMAINDER;
c.anchor = GridBagConstraints.WEST;
gridbag.setConstraints(checkboxes1[1], c);
add(checkboxes1[1]);
labMessage = new Label(
Messages.getString("LOSDialog.InSecondHex"), Label.LEFT); //$NON-NLS-1$
c.weightx = 1.0;
c.weighty = 1.0;
c.gridwidth = 0;
c.anchor = GridBagConstraints.WEST;
gridbag.setConstraints(labMessage, c);
add(labMessage);
CheckboxGroup radioGroup2 = new CheckboxGroup();
checkboxes2 = new Checkbox[2];
checkboxes2[0] = new Checkbox(
Messages.getString("LOSDialog.Mech"), mechInSecond, radioGroup2); //$NON-NLS-1$
c.gridwidth = 1;
c.anchor = GridBagConstraints.WEST;
gridbag.setConstraints(checkboxes2[0], c);
add(checkboxes2[0]);
checkboxes2[1] = new Checkbox(
Messages.getString("LOSDialog.NonMech"), !mechInSecond, radioGroup2); //$NON-NLS-1$
c.gridwidth = GridBagConstraints.REMAINDER;
c.anchor = GridBagConstraints.WEST;
gridbag.setConstraints(checkboxes2[1], c);
add(checkboxes2[1]);