for (int i = 0; i < tempRemovedConnections.size(); i++) { BeanConnection temp = (BeanConnection)tempRemovedConnections.elementAt(i); BeanConnection newC = new BeanConnection(temp.getSource(), temp.getTarget(), temp.getSourceEventSetDescriptor()); }
  private void addToUserToolBar(MetaBean bean,                                 boolean installListener) {    if (m_userToolBar == null) {      // need to create the user tab and toolbar      setUpUserToolBar();    }    // now add to user tool bar    JPanel tempUser = instantiateToolBarMetaBean(bean);    m_userBoxPanel.add(tempUser);    if (installListener && m_firstUserComponentOpp) {      try {        installWindowListenerForSavingUserBeans();        m_firstUserComponentOpp = false;      } catch (Exception ex) {        ex.printStackTrace();      }    }  }