private void selectInterface(){	
            if(!Interface.equals("")){
                String lnk;
                try {
                    lnk = Sim.getLinkName(NodeName, Interface);
                    if(lnk!=null){
                        Sim.SetLinkProb(lnk, Double.parseDouble(txtProp.getText()));
                    }
                } 
                catch (NumberFormatException ex) {
//                    ex.printStackTrace();
                } 
                catch (InvalidLinkNameException ex) {
                    ex.printStackTrace();
                } 
                catch (InvalidNetworkInterfaceNameException ex) {
                    ex.printStackTrace();
                } 
                catch (InvalidNodeNameException ex) {
                    ex.printStackTrace();
                }
            }
            
            Interface = (String)cmbInterface.getSelectedItem();	
            try{
                String lnk = Sim.getLinkName(NodeName, Interface);
                if(lnk!=null) txtProp.setText(Double.valueOf(Sim.GetLinkProb(lnk)).toString());
            }catch(Exception e){ System.out.println(e.toString()); }
	}