m_bcSupport.setDesignTime(true);
  private void loadLayout() {    m_loadB.setEnabled(false);    m_saveB.setEnabled(false);    int returnVal = m_FileChooser.showOpenDialog(this);    if (returnVal == JFileChooser.APPROVE_OPTION) {      try {	File oFile = m_FileChooser.getSelectedFile();	InputStream is = new FileInputStream(oFile);	ObjectInputStream ois = new ObjectInputStream(is);	Vector beans = (Vector) ois.readObject();	Vector connections = (Vector) ois.readObject();	ois.close();	java.awt.Color bckC = getBackground();	m_bcSupport = new BeanContextSupport();	// register this panel as a property change listener with each	// bean	for (int i = 0; i < beans.size(); i++) {	  BeanInstance tempB = (BeanInstance)beans.elementAt(i);	  if (tempB.getBean() instanceof Visible) {	    ((Visible)(tempB.getBean())).getVisual().	      addPropertyChangeListener(this);	    // A workaround to account for JPanel's with their default	    // background colour not being serializable in Apple's JRE	    ((Visible)(tempB.getBean())).getVisual().	      setBackground(bckC);	    ((JComponent)(tempB.getBean())).setBackground(bckC);	  }	  if (tempB.getBean() instanceof BeanCommon) {	    ((BeanCommon)(tempB.getBean())).setLog(m_logPanel);	  }	  if (tempB.getBean() instanceof BeanContextChild) {	    m_bcSupport.add(tempB.getBean());	  }	}	BeanInstance.setBeanInstances(beans, m_beanLayout);	BeanConnection.setConnections(connections);	m_beanLayout.revalidate();	m_beanLayout.repaint();      } catch (Exception ex) {	ex.printStackTrace();      }    }    m_loadB.setEnabled(true);    m_saveB.setEnabled(true);  }