[Javanetsim-cvs] javaNetSim/guiUI MainScreen.java,1.74,1.75
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2007-10-19 17:40:41
|
Update of /cvsroot/javanetsim/javaNetSim/guiUI In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv532/guiUI Modified Files: MainScreen.java Log Message: Minor savefile changes and fixes; new device variations added. Index: MainScreen.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/guiUI/MainScreen.java,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** MainScreen.java 19 Oct 2007 15:57:01 -0000 1.74 --- MainScreen.java 19 Oct 2007 17:40:33 -0000 1.75 *************** *** 87,90 **** --- 87,91 ---- import core.Simulation; import core.Node; + import core.NetworkInterface; import core.protocolsuite.tcp_ip.Route_entry; import java.util.Timer; *************** *** 688,691 **** --- 689,696 ---- Sim.addPC(result, true); + + Sim.getNode(result).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + "0", core.NetworkInterface.Ethernet10T, true); + Sim.getNode(result).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Console) + "0", core.NetworkInterface.Console, false); + GuiPC tempPC = new GuiPC(result,this); *************** *** 771,775 **** String result = JOptionPane.showInputDialog(this,"Please enter a Router name:","Create New Router", JOptionPane.PLAIN_MESSAGE); ! if(result != null){ result = result.trim(); --- 776,791 ---- String result = JOptionPane.showInputDialog(this,"Please enter a Router name:","Create New Router", JOptionPane.PLAIN_MESSAGE); ! String[] choices = {"Simple router with 2 Ethernet-TX ports.", ! "Router with 3 Ethernet-TX ports", ! "Router with 2 Ethernet-TX ports and 1 Ethernet-FX port.", ! "Router with 3 Ethernet-FX ports.", ! "Multi-enviroment router with 1 Ethernet-TX, 2 Serial and 1 Ethernet-FX ports.", ! }; ! ! String choice = (String)JOptionPane.showInputDialog(this,"Please choose Switch type", "Create New Switch", ! JOptionPane.PLAIN_MESSAGE, null, ! choices,choices[0]); ! ! if(result != null && choice !=null){ result = result.trim(); *************** *** 780,783 **** --- 796,826 ---- Sim.addRouter(result, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Console) + "0", NetworkInterface.Console, false); + + if(choice.contains(choices[0])){ + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "0", NetworkInterface.Ethernet10T, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "1", NetworkInterface.Ethernet10T, true); + }else if(choice.contains(choices[1])){ + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "0", NetworkInterface.Ethernet10T, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "1", NetworkInterface.Ethernet10T, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "2", NetworkInterface.Ethernet10T, true); + }else if(choice.contains(choices[2])){ + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "0", NetworkInterface.Ethernet10T, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "1", NetworkInterface.Ethernet10T, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet100FX) + "0", NetworkInterface.Ethernet100FX, true); + }else if(choice.contains(choices[3])){ + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet100FX) + "0", NetworkInterface.Ethernet100FX, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet100FX) + "1", NetworkInterface.Ethernet100FX, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet100FX) + "2", NetworkInterface.Ethernet100FX, true); + }else if(choice.contains(choices[4])){ + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet10T) + "0", NetworkInterface.Ethernet10T, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Serial) + "0", NetworkInterface.Serial, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Serial) + "1", NetworkInterface.Serial, true); + Sim.getNode(result).addNetworkInterface(NetworkInterface.getIntName(NetworkInterface.Ethernet100FX) + "0", NetworkInterface.Ethernet100FX, true); + } + + + + GuiRouter tempRouter = new GuiRouter(result,this); *************** *** 834,839 **** String result = JOptionPane.showInputDialog(this,"Please enter a Hub name:","Create New Hub", JOptionPane.PLAIN_MESSAGE); ! if(result != null){ result = result.trim(); --- 877,890 ---- String result = JOptionPane.showInputDialog(this,"Please enter a Hub name:","Create New Hub", JOptionPane.PLAIN_MESSAGE); + + String[] choises = {"5-ports simple hub.", + "8-ports hub." + }; + + String choice = (String)JOptionPane.showInputDialog(this,"Please choose Hub type", "Create New Hub", + JOptionPane.PLAIN_MESSAGE, null, + choises,choises[0]); ! if(result != null && choice != null){ result = result.trim(); *************** *** 842,847 **** try { ! Sim.addHub(result, true); GuiHub tempHub = new GuiHub(result,this); --- 893,905 ---- try { ! int portCount = 5; ! ! if(choice.contains(choises[1])) portCount = 8; ! Sim.addHub(result, true); + for(int i = 0; i < portCount; i++){ + Sim.getNode(result).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + String.valueOf(i), core.NetworkInterface.Ethernet10T, false); + } + GuiHub tempHub = new GuiHub(result,this); *************** *** 896,899 **** --- 954,960 ---- Sim.addCSUDSU(result, true); + + ((core.CSUDSU)Sim.getNode(result)).addSerialInterface(); + ((core.CSUDSU)Sim.getNode(result)).addWANInterface(); GuiCSUDSU tempCSUDSU = new GuiCSUDSU(result,this); *************** *** 1010,1014 **** String result = JOptionPane.showInputDialog(this,"Please enter a Switch name:","Create New Switch", JOptionPane.PLAIN_MESSAGE); ! if(result != null){ result = result.trim(); --- 1071,1090 ---- String result = JOptionPane.showInputDialog(this,"Please enter a Switch name:","Create New Switch", JOptionPane.PLAIN_MESSAGE); ! String[] choices = {"5 Ethernet-TX ports simple switch.", ! "8 Ethernet-TX ports switch.", ! "12 Ethernet-TX ports switch.", ! "24 Ethernet-TX ports switch.", ! "12 Ethernet-TX ports with 2 Ethernet-FX switch.", ! "24 Ethernet-TX ports with 2 Ethernet-FX switch.", ! "12 Ethernet-FX ports with 2 Ethernet-TX switch.", ! "24 Ethernet-FX ports with 2 Ethernet-TX switch." ! }; ! ! String choice = (String)JOptionPane.showInputDialog(this,"Please choose Switch type", "Create New Switch", ! JOptionPane.PLAIN_MESSAGE, null, ! choices,choices[0]); ! ! ! if(result != null && choice != null){ result = result.trim(); *************** *** 1017,1022 **** try { ! Sim.addSwitch(result, true, 12, 2); GuiSwitch tempSwitch = new GuiSwitch(result,this); --- 1093,1125 ---- try { + int tx=0, fx=0; + + if(choice.contains(choices[0])){ + tx = 5; fx = 0; + }else if(choice.contains(choices[1])){ + tx = 8; fx = 0; + }else if(choice.contains(choices[2])){ + tx = 12; fx = 0; + }else if(choice.contains(choices[3])){ + tx = 24; fx = 0; + }else if(choice.contains(choices[4])){ + tx = 12; fx = 2; + }else if(choice.contains(choices[5])){ + tx = 24; fx = 2; + }else if(choice.contains(choices[6])){ + tx = 2; fx = 12; + }else if(choice.contains(choices[7])){ + tx = 2; fx = 24; + } ! Sim.addSwitch(result, true); ! ! for(int i = 0; i < tx; i++){ ! Sim.getNode(result).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + String.valueOf(i), core.NetworkInterface.Ethernet10T, false); ! } ! ! for(int i = 0; i < fx; i++){ ! Sim.getNode(result).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet100FX) + String.valueOf(i), core.NetworkInterface.Ethernet100FX, false); ! } GuiSwitch tempSwitch = new GuiSwitch(result,this); *************** *** 1978,1986 **** strType = strType.replaceFirst("class guiUI\\.",""); - if(Sim.getNode(key) instanceof core.Switch){ - strType += "_" + ((core.Switch)Sim.getNode(key)).Copper_ports; - strType += "_" + ((core.Switch)Sim.getNode(key)).Fiber_ports; - } - Point pnt1 = tempNode.getLocation(); --- 2081,2084 ---- *************** *** 2209,2212 **** --- 2307,2311 ---- Vector DevicesTurnedOn = new Vector(); Hashtable links = new Hashtable(); + Vector connections = new Vector(); while (( line = input.readLine()) != null){ *************** *** 2240,2294 **** if(strClassName.contains("GuiHub")){ deviceType = 1; ! Sim.addHub(strNodeName, false); ! GuiHub tempHub = new GuiHub(strNodeName,this); ! tempHub.setNodeLocation(pnt); ! Sandbox.add(tempHub); ! Sandbox.setLayer((Component) tempHub,3,0); ! GUInodeTable.put(strNodeName,tempHub); }else if(strClassName.contains("GuiSwitch")){ ! String[] params = strClassName.split("_"); ! deviceType = 1; ! if(params.length < 2){ ! Sim.addSwitch(strNodeName, false, 12, 2); ! }else{ ! Sim.addSwitch(strNodeName, false, Integer.valueOf(params[1]), Integer.valueOf(params[2])); ! } ! GuiSwitch tempSwitch = new GuiSwitch(strNodeName,this); ! tempSwitch.setNodeLocation(pnt); ! Sandbox.add(tempSwitch); ! Sandbox.setLayer(tempSwitch,3,0); ! GUInodeTable.put(strNodeName,tempSwitch); }else if(strClassName.contains("GuiCSUDSU")){ deviceType = 1; ! Sim.addCSUDSU(strNodeName, false); ! GuiCSUDSU tempCSUDSU = new GuiCSUDSU(strNodeName,this); ! tempCSUDSU.setNodeLocation(pnt); ! Sandbox.add(tempCSUDSU); ! Sandbox.setLayer(tempCSUDSU,3,0); ! GUInodeTable.put(strNodeName,tempCSUDSU); }else if(strClassName.contains("GuiPC")){ deviceType = 2; ! Sim.addPC(strNodeName, false); ! GuiPC tempPC = new GuiPC(strNodeName,this); ! tempPC.setNodeLocation(pnt); ! Sandbox.add(tempPC); ! Sandbox.setLayer(tempPC,3,0); ! GUInodeTable.put(strNodeName,tempPC); }else if(strClassName.contains("GuiRouter")){ deviceType = 2; ! Sim.addRouter(strNodeName, false); ! GuiRouter tempRouter = new GuiRouter(strNodeName,this); ! tempRouter.setNodeLocation(pnt); ! Sandbox.add(tempRouter); ! Sandbox.setLayer(tempRouter,3,0); ! GUInodeTable.put(strNodeName,tempRouter); }else if(strClassName.contains("GuiExternalProxy")){ deviceType = 2; ! Sim.addExternalNAT(strNodeName, false); ! GuiExternalProxy tempRouter = new GuiExternalProxy(strNodeName,this); ! tempRouter.setNodeLocation(pnt); ! Sandbox.add(tempRouter); ! Sandbox.setLayer(tempRouter,3,0); ! GUInodeTable.put(strNodeName,tempRouter); } --- 2339,2358 ---- if(strClassName.contains("GuiHub")){ deviceType = 1; ! Sim.addHub(strNodeName, false); }else if(strClassName.contains("GuiSwitch")){ ! deviceType = 1; ! Sim.addSwitch(strNodeName, false); }else if(strClassName.contains("GuiCSUDSU")){ deviceType = 1; ! Sim.addCSUDSU(strNodeName, false); }else if(strClassName.contains("GuiPC")){ deviceType = 2; ! Sim.addPC(strNodeName, false); }else if(strClassName.contains("GuiRouter")){ deviceType = 2; ! Sim.addRouter(strNodeName, false); }else if(strClassName.contains("GuiExternalProxy")){ deviceType = 2; ! Sim.addExternalNAT(strNodeName, false); } *************** *** 2307,2325 **** sieve = iface[3]; ! switch(LinkType){ - case core.NetworkInterface.Ethernet10T: case core.NetworkInterface.Ethernet100FX: ! if(!iface[4].contains("#")) ! try{ //FIXME!!!!!!! ! Sim.setMACAddress(strNodeName,iface[0], iface[4]); ! }catch(Exception e){ } break; case core.NetworkInterface.Serial: ((core.SerialNetworkInterface)Sim.getNode(strNodeName).getNIC(iface[0])).setClockRate(Integer.valueOf(iface[4])); break; } ! if(!strLinkName.contains("null")){ --- 2371,2420 ---- sieve = iface[3]; ! ! // sim nodes switch(LinkType){ case core.NetworkInterface.Ethernet100FX: ! if(!iface[4].contains("#")){ ! Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.Ethernet100FX, true); ! try{ //FIXME!!!!!!! ! Sim.setMACAddress(strNodeName,iface[0], iface[4]); ! }catch(Exception e){ } ! }else{ ! Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.Ethernet100FX, false); ! } ! break; ! case core.NetworkInterface.Ethernet10T: ! if(!iface[4].contains("#")){ ! Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.Ethernet10T, true); ! try{ ! //FIXME!!!!!!! ! Sim.setMACAddress(strNodeName,iface[0], iface[4]); ! }catch(Exception e){ } ! }else{ ! Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.Ethernet10T, false); ! } break; case core.NetworkInterface.Serial: + if(Sim.getNode(strNodeName) instanceof core.CSUDSU){ + Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.Serial, false); + ((core.CSUDSU)Sim.getNode(strNodeName)).setLAN(iface[0]); + }else{ + Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.Serial, true); + } ((core.SerialNetworkInterface)Sim.getNode(strNodeName).getNIC(iface[0])).setClockRate(Integer.valueOf(iface[4])); break; + + case core.NetworkInterface.Console: + Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.Console, false); + break; + + case core.NetworkInterface.WAN: + Sim.getNode(strNodeName).addNetworkInterface(iface[0], core.NetworkInterface.WAN, false); + ((core.CSUDSU)Sim.getNode(strNodeName)).setWAN(iface[0]); + break; } ! ! // interfaces if(!strLinkName.contains("null")){ *************** *** 2335,2359 **** case core.NetworkInterface.Ethernet10T: Sim.addEthernetLink(strLinkName, ln[0], ln[1], strNodeName, iface[0], ln[2]); - this.createLink(strLinkName, ln[0], strNodeName, core.NetworkInterface.Ethernet10T); break; case core.NetworkInterface.Ethernet100FX: ! Sim.addEthernetLink(strLinkName, ln[0], ln[1], strNodeName, iface[0], ln[2]); ! this.createLink(strLinkName, ln[0], strNodeName, core.NetworkInterface.Ethernet100FX); break; case core.NetworkInterface.Console: ! Sim.addConsoleLink(strLinkName, ln[0], ln[1], strNodeName, iface[0]); ! this.createLink(strLinkName, ln[0], strNodeName, core.NetworkInterface.Console); ! break; case core.NetworkInterface.Serial: ! Sim.addSerialLink(strLinkName, ln[0], ln[1], strNodeName, iface[0]); ! this.createLink(strLinkName, ln[0], strNodeName, core.NetworkInterface.Serial); break; } } } ! } ! line = input.readLine(); if(line.contains("#config")){ --- 2430,2492 ---- case core.NetworkInterface.Ethernet10T: Sim.addEthernetLink(strLinkName, ln[0], ln[1], strNodeName, iface[0], ln[2]); break; case core.NetworkInterface.Ethernet100FX: ! Sim.addEthernetLink(strLinkName, ln[0], ln[1], strNodeName, iface[0], ln[2]); break; case core.NetworkInterface.Console: ! Sim.addConsoleLink(strLinkName, ln[0], ln[1], strNodeName, iface[0]); ! break; case core.NetworkInterface.Serial: ! Sim.addSerialLink(strLinkName, ln[0], ln[1], strNodeName, iface[0]); break; } + + connections.add(strLinkName + "|" + ln[0] + "|" + strNodeName + "|" + LinkType); } } ! } ! ! // add gui nodes ! if(strClassName.contains("GuiHub")){ ! GuiHub tempHub = new GuiHub(strNodeName,this); ! tempHub.setNodeLocation(pnt); ! Sandbox.add(tempHub); ! Sandbox.setLayer((Component) tempHub,3,0); ! GUInodeTable.put(strNodeName,tempHub); ! }else if(strClassName.contains("GuiSwitch")){ ! GuiSwitch tempSwitch = new GuiSwitch(strNodeName,this); ! tempSwitch.setNodeLocation(pnt); ! Sandbox.add(tempSwitch); ! Sandbox.setLayer(tempSwitch,3,0); ! GUInodeTable.put(strNodeName,tempSwitch); ! }else if(strClassName.contains("GuiCSUDSU")){ ! GuiCSUDSU tempCSUDSU = new GuiCSUDSU(strNodeName,this); ! tempCSUDSU.setNodeLocation(pnt); ! Sandbox.add(tempCSUDSU); ! Sandbox.setLayer(tempCSUDSU,3,0); ! GUInodeTable.put(strNodeName,tempCSUDSU); ! }else if(strClassName.contains("GuiPC")){ ! GuiPC tempPC = new GuiPC(strNodeName,this); ! tempPC.setNodeLocation(pnt); ! Sandbox.add(tempPC); ! Sandbox.setLayer(tempPC,3,0); ! GUInodeTable.put(strNodeName,tempPC); ! }else if(strClassName.contains("GuiRouter")){ ! GuiRouter tempRouter = new GuiRouter(strNodeName,this); ! tempRouter.setNodeLocation(pnt); ! Sandbox.add(tempRouter); ! Sandbox.setLayer(tempRouter,3,0); ! GUInodeTable.put(strNodeName,tempRouter); ! }else if(strClassName.contains("GuiExternalProxy")){ ! GuiExternalProxy tempRouter = new GuiExternalProxy(strNodeName,this); ! tempRouter.setNodeLocation(pnt); ! Sandbox.add(tempRouter); ! Sandbox.setLayer(tempRouter,3,0); ! GUInodeTable.put(strNodeName,tempRouter); ! } ! ! //config line = input.readLine(); if(line.contains("#config")){ *************** *** 2365,2368 **** --- 2498,2502 ---- } + //data line = input.readLine(); if(line.contains("#data")){ *************** *** 2378,2381 **** --- 2512,2522 ---- }//while + // add graphical connections + for(int i =0; i< connections.size(); i++){ + String[] gc = ((String)connections.get(i)).split("\\|"); + this.createLink(gc[0], gc[1], gc[2], Integer.valueOf(gc[3])); + } + + // turn on devices for(int i =0; i<DevicesTurnedOn.size() ;i++){ String nodeName = (String) DevicesTurnedOn.get(i); *************** *** 2519,2522 **** --- 2660,2667 ---- Sim.addHub(strNodeName, true); + for(int i = 0; i < 5; i++){ + Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + String.valueOf(i), core.NetworkInterface.Ethernet10T, false); + } + GuiHub tempHub = new GuiHub(strNodeName,this); *************** *** 2535,2539 **** deviceType = 1; ! Sim.addSwitch(strNodeName, true, 8, 0); GuiSwitch tempSwitch = new GuiSwitch(strNodeName,this); --- 2680,2687 ---- deviceType = 1; ! Sim.addSwitch(strNodeName, true); ! for(int i = 0; i < 8; i++){ ! Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + String.valueOf(i), core.NetworkInterface.Ethernet10T, false); ! } GuiSwitch tempSwitch = new GuiSwitch(strNodeName,this); *************** *** 2547,2567 **** GUInodeTable.put(strNodeName,tempSwitch); - }else if(strClassName.contains("GuiCSUDSU")){ - - deviceType = 1; - - Sim.addCSUDSU(strNodeName, true); - - GuiCSUDSU tempCSUDSU = new GuiCSUDSU(strNodeName,this); - - tempCSUDSU.setNodeLocation(pnt); - - Sandbox.add(tempCSUDSU); - - Sandbox.setLayer(tempCSUDSU,3,0); - - GUInodeTable.put(strNodeName,tempCSUDSU); - - }else if(strClassName.contains("GuiPC")){ --- 2695,2698 ---- *************** *** 2569,2573 **** Sim.addPC(strNodeName, true); ! GuiPC tempPC = new GuiPC(strNodeName,this); --- 2700,2706 ---- Sim.addPC(strNodeName, true); ! Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + "0", core.NetworkInterface.Ethernet10T, true); ! Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Console) + "0", core.NetworkInterface.Console, true); ! GuiPC tempPC = new GuiPC(strNodeName,this); *************** *** 2585,2589 **** --- 2718,2727 ---- Sim.addRouter(strNodeName, true); + Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + "0", core.NetworkInterface.Ethernet10T, true); + Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Ethernet10T) + "1", core.NetworkInterface.Ethernet10T, true); + Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Serial) + "0", core.NetworkInterface.Serial, true); + Sim.getNode(strNodeName).addNetworkInterface(core.NetworkInterface.getIntName(core.NetworkInterface.Console) + "0", core.NetworkInterface.Console, true); + GuiRouter tempRouter = new GuiRouter(strNodeName,this); *************** *** 2596,2618 **** GUInodeTable.put(strNodeName,tempRouter); - }else if(strClassName.contains("GuiExternalProxy")){ - - deviceType = 2; - - Sim.addExternalNAT(strNodeName, true); - - GuiExternalProxy tempRouter = new GuiExternalProxy(strNodeName,this); - - tempRouter.setNodeLocation(pnt); - - Sandbox.add(tempRouter); - - Sandbox.setLayer(tempRouter,3,0); - - GUInodeTable.put(strNodeName,tempRouter); - } - String sieve = "100.00"; --- 2734,2739 ---- |