MutableAttributeSet properties = myConfigManager.getProperties();
for (Property property : propDescriptors) {
PropertyInputPanel inputPanel = property.getInputPanel();
myPropertyPanel.add(inputPanel.getJPanel());
/*
* Try to get the configurer's current value and apply it to the
* input panels
*/
Object currentValue = properties.getAttribute(inputPanel.getName());
if (currentValue != null) {
inputPanel.setValue(currentValue);
}
propertyInputPanels.add(inputPanel);
}