private void okButton(){
		try {
			
			if(NodeName != null && Interface != null){
				//String str = Sim.disconnectLink(NodeName, Interface);				
                                //SBox.removeLine(str);
                               
                                ///!!!!!!!!!!!!!!!
                                // !!!!!!!!!!!!!!!!!!
                                // *TODO*: security from FOOLS
                                String SC = txtProp.getText();
                                double scoeff = Double.valueOf(SC.trim()).doubleValue();
                                String lnk = Sim.getLinkName(NodeName, Interface);
                                if(lnk!=null){
                                    Sim.SetLinkProb(lnk, scoeff);
                                    controller.addToConsole("Setting sieving coefficient for " + NodeName +"'s link on interface "+Interface+" at " + SC + ".\n");
                                }
			}
					
						
			this.dispose();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}