[Javanetsim-cvs] javaNetSim/guiUI LinkProperties.java,1.2,1.3
Status: Beta
Brought to you by:
darkkey
From: gift <gi...@us...> - 2005-12-04 16:47:34
|
Update of /cvsroot/javanetsim/javaNetSim/guiUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23437/guiUI Modified Files: LinkProperties.java Log Message: more and more Index: LinkProperties.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/guiUI/LinkProperties.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LinkProperties.java 19 Nov 2005 16:55:37 -0000 1.2 --- LinkProperties.java 4 Dec 2005 16:47:26 -0000 1.3 *************** *** 1,361 **** ! /* ! Java Firewall Simulator (jFirewallSim) ! ! Copyright (c) 2004, jFirewallSim development team All rights reserved. ! ! Redistribution and use in source and binary forms, with or without modification, are ! permitted provided that the following conditions are met: ! ! - Redistributions of source code must retain the above copyright notice, this list ! of conditions and the following disclaimer. [...1054 lines suppressed...] ! */ ! ! private void selectInterface(){ ! ! 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()); } ! ! } ! ! ! ! } ! |