question: private static void addToGB ( Component comp , Container cont , GridBagLayout gridbag , GridBagConstraints constraints ) { gridbag . setConstraints ( comp , constraints ) ; cont . add ( comp ) ; }
target:  Sets the constraints for the GridBagLayout and adds the Component to the given Container