*
* Note that this is also the section of code which determines which
* subproperties are to be edited.
*/
private JPanel createEntryPanel (List itemList) {
CardLayout entryLayout = new CardLayout();
JPanel panel = new JPanel(entryLayout);
for (Object o: itemList) {
String rootProp = (String) o;
SwingPropertyEditor sep = createEditorPane(rootProp, rootProp);
getLogger().fine("creating editor for " + rootProp);
// save reference to new pane in hash table
currentPanels.put(rootProp, sep);
editors.add(sep);
panel.add(rootProp, sep);
}
String defaultProperty = manager.getProperty(property + "._default", "");
if (defaultProperty != "")
entryLayout.show(panel, defaultProperty);
return panel;
}