*/
private void initUI() {
this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
Force[] forces = fsim.getForces();
for ( int i=0; i<forces.length; i++ ) {
Force f = forces[i];
Box v = new Box(BoxLayout.Y_AXIS);
for ( int j=0; j<f.getParameterCount(); j++ ) {
JValueSlider field = createField(f,j);
field.addChangeListener(lstnr);
v.add(field);
}
String name = f.getClass().getName();
name = name.substring(name.lastIndexOf(".")+1);
v.setBorder(BorderFactory.createTitledBorder(name));
this.add(v);
}
}