public void addLine(String inName,Point inStart, Point inEnd, int type){		

                switch(type){
                    case core.NetworkInterface.Ethernet10T:
                	LineTable.put(inName,new LinkLine(new Line2D.Double(inStart.x,inStart.y,inEnd.x,inEnd.y), new BasicStroke(2.0f), Color.BLACK));
                        break;
                    case core.NetworkInterface.Console:                        
                	LineTable.put(inName,new LinkLine(new Line2D.Double(inStart.x,inStart.y,inEnd.x,inEnd.y), new BasicStroke(3.0f), Color.CYAN ));
                        break;                        
                    case core.NetworkInterface.Serial:                        
                	LineTable.put(inName,new LinkLine(new Line2D.Double(inStart.x,inStart.y,inEnd.x,inEnd.y), new BasicStroke(3.0f), Color.RED));
                        break; 
                    case core.NetworkInterface.Ethernet100FX:                        
                	LineTable.put(inName,new LinkLine(new Line2D.Double(inStart.x,inStart.y,inEnd.x,inEnd.y), new BasicStroke(3.0f), Color.ORANGE));
                        break;                         
                }

		repaint();

	}