public void updateConnectedLinkMenu(){
		try {
			mnuBreakLink.removeAll();
			Object ints[] = controller.getInterfaces(lblNodeName.getText());
			for (int i = 0; i < ints.length; i++) {		
				int int_type = Simulation.Sim.getNode(this.strNodeName).getIntType((String)ints[i]); 
				NetworkInterface ni = Simulation.Sim.getNode(this.strNodeName).getNetworkInterface((String)ints[i]);
				boolean lineIsConnected = ni.getConnectedLink()!=null;

				if(int_type != core.NetworkInterface.Wireless && lineIsConnected){
					
					JMenuItem mnuDI = new JMenuItem((String)ints[i]+" ("+ni.getConnectedLink().getLinkedNodeName(getName(), (String)ints[i])+")");
					mnuDI.addActionListener(new LinkMenuActionListener((String)ints[i]));
					mnuBreakLink.add(mnuDI);
				}
			}

		} catch (Exception e) {
			e.printStackTrace();
		}
	}