[Javanetsim-cvs] javaNetSim/guiUI MainScreen.java,1.6,1.7
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2005-11-20 07:55:55
|
Update of /cvsroot/javanetsim/javaNetSim/guiUI In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24230/guiUI Modified Files: MainScreen.java Log Message: Index: MainScreen.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/guiUI/MainScreen.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** MainScreen.java 19 Nov 2005 21:53:51 -0000 1.6 --- MainScreen.java 20 Nov 2005 07:55:48 -0000 1.7 *************** *** 1771,1775 **** public void EchoServerListen(String inNodeName){ ! String port = JOptionPane.showInputDialog(this, "Port:", "Set Echo Server listening on port.", JOptionPane.QUESTION_MESSAGE); if(port!=null){ try{ --- 1771,1776 ---- public void EchoServerListen(String inNodeName){ ! //String port = JOptionPane.showInputDialog(this, "Port:", "Set Echo Server listening on port.", JOptionPane.QUESTION_MESSAGE); ! String port = "7"; if(port!=null){ try{ *************** *** 1792,1798 **** public void EchoSend(String inNodeName){ ! String ip = JOptionPane.showInputDialog(this, "Server IP:", "Send msg over Echo.", JOptionPane.QUESTION_MESSAGE); ! String port = JOptionPane.showInputDialog(this, "Server Port:", "Send msg over Echo.", JOptionPane.QUESTION_MESSAGE); ! String msg = JOptionPane.showInputDialog(this, "Message:", "Message.", JOptionPane.QUESTION_MESSAGE); if(port!=null && ip!=null && msg!=null){ try{ --- 1793,1802 ---- public void EchoSend(String inNodeName){ ! //String ip = JOptionPane.showInputDialog(this, "Server IP:", "Send msg over Echo.", JOptionPane.QUESTION_MESSAGE); ! //String port = JOptionPane.showInputDialog(this, "Server Port:", "Send msg over Echo.", JOptionPane.QUESTION_MESSAGE); ! //String msg = JOptionPane.showInputDialog(this, "Message:", "Message.", JOptionPane.QUESTION_MESSAGE); ! String ip = "192.168.0.1"; ! String port = "7"; ! String msg = "!!!"; if(port!=null && ip!=null && msg!=null){ try{ |