public SettingsPane(GUI gui) {
super();
this.gui = gui;
// acquire a reference to jcgp, for convenience
final JCGP jcgp = gui.getExperiment();
// make the overarching container
mainContainer = new VBox(8);
mainContainer.setPadding(new Insets(5, Constants.RESIZE_MARGIN, 0, 2));