[Javanetsim-cvs] javaNetSim/guiUI LinkProperties.java,1.4,1.5
Status: Beta
Brought to you by:
darkkey
From: QweR <qw...@us...> - 2006-11-09 15:32:08
|
Update of /cvsroot/javanetsim/javaNetSim/guiUI In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12749/guiUI Modified Files: LinkProperties.java Log Message: Index: LinkProperties.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/guiUI/LinkProperties.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** LinkProperties.java 23 Feb 2006 11:56:00 -0000 1.4 --- LinkProperties.java 9 Nov 2006 15:31:55 -0000 1.5 *************** *** 1,722 **** /* - Java Firewall Simulator (jFirewallSim) - - Copyright (c) 2004, jFirewallSim development team All rights reserved. - - [...1082 lines suppressed...] ! 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()); } } } |