curvePaneContainer.add(curveTitle, BorderLayout.NORTH);
curvePane = new JPanel ();
curvePane.setLayout(new BoxLayout(curvePane, BoxLayout.Y_AXIS));
curvProp=new CurvePropertiesPanel(resources);
curvePane.add(curvProp);
curvePaneContainer.add(curvePane,BorderLayout.CENTER);
JPanel s2 = new JPanel (new BorderLayout());