setConfigComponent(mc);
configComponent = mc;
  public PropertyBuilder(CSMART csmart, ModifiableComponent mc,                          ModifiableComponent originalComponent,                         Experiment experiment) {    log = CSMART.createLogger(this.getClass().getName());    this.csmart = csmart;    this.originalComponent = originalComponent;    this.experiment = experiment;    // initialize menus and gui panels    JMenuBar menuBar = new JMenuBar();    getRootPane().setJMenuBar(menuBar);    JMenu fileMenu = new JMenu(FILE_MENU);    saveMenuItem = new JMenuItem(SAVE_DB_MENU_ITEM);    saveMenuItem.addActionListener(this);    fileMenu.add(saveMenuItem);    fileMenu.addSeparator();    JMenuItem exitMenuItem = new JMenuItem(EXIT_MENU_ITEM);    exitMenuItem.addActionListener(this);    fileMenu.add(exitMenuItem);    menuBar.add(fileMenu);    JMenu helpMenu = new JMenu(HELP_MENU);    for (int i = 0; i < helpMenuItems.length; i++) {      JMenuItem mItem = new JMenuItem(helpMenuItems[i]);      mItem.addActionListener(this);      helpMenu.add(mItem);    }    menuBar.add(helpMenu);    addWindowListener(new WindowAdapter() {      public void windowClosing(WindowEvent e) {	exit();      }    });    setConfigComponent(mc);    propertyEditor = new PropertyEditorPanel(configComponent, true);    getContentPane().setLayout(new BorderLayout());    getContentPane().add(propertyEditor, BorderLayout.CENTER);    setSize(600,500);    setVisible(true);  }