public void setConstraints(Component comp, GridBagConstraints constraints) { }
public void setConstraints (Component component, GridBagConstraints constraints) { GridBagConstraints clone = (GridBagConstraints) constraints.clone();  if (clone.gridx < 0) clone.gridx = GridBagConstraints.RELATIVE;  if (clone.gridy < 0) clone.gridy = GridBagConstraints.RELATIVE;  if (clone.gridwidth == 0) clone.gridwidth = GridBagConstraints.REMAINDER; else if (clone.gridwidth < 0 && clone.gridwidth != GridBagConstraints.REMAINDER && clone.gridwidth != GridBagConstraints.RELATIVE) clone.gridwidth = 1;  if (clone.gridheight == 0) clone.gridheight = GridBagConstraints.REMAINDER; else if (clone.gridheight < 0 && clone.gridheight != GridBagConstraints.REMAINDER && clone.gridheight != GridBagConstraints.RELATIVE) clone.gridheight = 1;  comptable.put (component, clone); }
  public void setConstraints(Component comp, GridBagConstraints constraints)  {  }