DefaultGraphCell splitjoinCell = new DefaultGraphCell(frame);
	public GEStreamNode construct(GraphStructure graphStruct)	{		System.out.println("Constructing the SplitJoin " +this.getName());		this.draw();				// Create a graph structure that will be contained within a LiveJGraphInternalFrame.		GraphStructure localGraphStruct = new GraphStructure();		localGraphStruct.liveDemo = graphStruct.liveDemo;		DefaultGraphModel model = new DefaultGraphModel();		localGraphStruct.setGraphModel(model);		localGraphStruct.setJGraph(new JGraph(model));						LiveJGraphInternalFrame frame = new LiveJGraphInternalFrame(localGraphStruct.getJGraph());		localGraphStruct.internalFrame = frame;				this.splitter.construct(localGraphStruct); ////// this.splitter.construct(graphStruct);				ArrayList nodeList = (ArrayList) this.getSuccesors();		Iterator listIter =  nodeList.listIterator();		ArrayList lastNodeList = new ArrayList();				while(listIter.hasNext())		{			GEStreamNode strNode = ((GEStreamNode) listIter.next());			lastNodeList.add(strNode.construct(localGraphStruct)); ///////// lastNodeList.add(strNode.construct(graphStruct));						System.out.println("Connecting " + splitter.getName()+  " to "+ strNode.getName());				localGraphStruct.connectDraw(splitter, strNode); ///////// graphStruct.connectDraw(splitter, strNode);		}				listIter =  lastNodeList.listIterator();				this.joiner.construct(localGraphStruct); //////// this.joiner.construct(graphStruct);				while(listIter.hasNext())		{			GEStreamNode strNode = (GEStreamNode) listIter.next();			System.out.println("Connecting " + strNode.getName()+  " to "+ joiner.getName());			localGraphStruct.connectDraw(strNode, joiner); //////// graphStruct.connectDraw(strNode, joiner);		}				model.insert(localGraphStruct.getCells().toArray(),localGraphStruct.getAttributes(), localGraphStruct.getConnectionSet(), null, null);		DefaultGraphCell splitjoinCell = new DefaultGraphCell(frame);			this.port = new DefaultPort();		splitjoinCell.add(this.port);		frame.setGraphCell(splitjoinCell);		frame.setGraphStruct(graphStruct);				frame.setGraphModel(model);		frame.create(this.getName());		frame.setSize(320, 700);							//(graphStruct.getAttributes()).put(this, this.attributes);		//GraphConstants.setAutoSize(this.attributes, true);		//GraphConstants.setBounds(this.attributes, graphStruct.setRectCoords(this));				graphStruct.getCells().add(splitjoinCell); 		//(graphStruct.getGraphModel()).insert(new Object[] {splitjoinCell}, null, null, null, null);										graphStruct.internalFrame.getContentPane().add(frame);		// did not actually solve the problem, as originally thought (07/24/03)		//graphStruct.internalFrame.getDesktopPane().add(frame);				try 		{				frame.setSelected(true);		} 		catch(Exception pve) {}			return this;	}