LabeledElementListPanel settingsPane = new LabeledElementListPanel();
Border lineBorder = BorderFactory.createLineBorder(getForeground());
settingsPane.setBorder(BorderFactory.createCompoundBorder(lineBorder,
paddingBorder));
CityPropertyModels cityPropertyModels = CityPropertyModels
.getInstance();
JSpinner s;
s = settingsPane.addLabeledSpinner("Age limit for children",
cityPropertyModels.getChildrenAgeLimitModel());
((JSpinner.DefaultEditor) s.getEditor()).getTextField().setColumns(
spinnerColumnNumber);
settingsPane.addLabeledSpinner("Age of retirement",
cityPropertyModels.getRetirementAgeLimitModel());
settingsPane.addLabeledSpinner("Person-car relation",
cityPropertyModels.getCarPersonRelationModel(), "0%");
settingsPane.addLabeledSpinner("Car preference",
cityPropertyModels.getCarPreferenceModel(), "0%");
settingsPane.addLabeledSpinner("Free time acitivity rate",
cityPropertyModels.getFreeTimeActivityRateModel(), "0%");
settingsPane.addLabeledSpinner("Uniform random traffic",
cityPropertyModels.getUniformRandomTrafficModel(), "0%");
settingsPane.addLabeledSpinner("Departure variation",
cityPropertyModels.getDepartureVariationModel(), "0");
settingsPane.addLabeledSpinner("Mean speed", //
cityPropertyModels.getMeanSpeedModel(), "0");
settingsPane.addLabeledSpinner("Walking distance limit",
cityPropertyModels.getWalkingDistanceLimitModel(), "0");
return settingsPane;
}