public void updateInterfacesMenu(){
		try {
			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]); 

				if(int_type != core.NetworkInterface.Unknown){
					JMenuItem mnuI = new JMenuItem((String) ints[i]);
					mnuI.addActionListener(new ActionListener() {

						public void actionPerformed(ActionEvent e) {

							controller.showIntProps(lblNodeName.getText(),
									((JMenuItem) e.getSource()).getText());

						}

					});
					mnuInt.add(mnuI);
				}

				if(int_type != core.NetworkInterface.Wireless){

					JMenuItem mnuDI = new JMenuItem((String) ints[i]);
					mnuDI.addActionListener(new ActionListener() {

						public void actionPerformed(ActionEvent e) {

							controller.breakLink(lblNodeName.getText(),
									((JMenuItem) e.getSource()).getText());

						}

					});
					mnuBreakLink.add(mnuDI);
				}
			}

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