Update of /cvsroot/javanetsim/javaNetSim/guiUI
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2641
Modified Files:
MainScreen.java
Log Message:
some TCP bugs fixed
Index: MainScreen.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/guiUI/MainScreen.java,v
retrieving revision 1.107
retrieving revision 1.108
diff -C2 -d -r1.107 -r1.108
*** MainScreen.java 23 Oct 2009 20:06:33 -0000 1.107
--- MainScreen.java 24 Oct 2009 23:24:45 -0000 1.108
***************
*** 4288,4292 ****
String ip = IPV4Address.sanitizeDecIPorName(JOptionPane.showInputDialog(this, "Server IP:",
! "Send msg over Echo.", JOptionPane.QUESTION_MESSAGE));
if (ip == null)
--- 4288,4292 ----
String ip = IPV4Address.sanitizeDecIPorName(JOptionPane.showInputDialog(this, "Server IP:",
! "Send message over Echo TCP. Host.", JOptionPane.QUESTION_MESSAGE));
if (ip == null)
***************
*** 4294,4303 ****
String port = JOptionPane.showInputDialog(this, "Server Port:",
! "Send msg over Echo.", JOptionPane.QUESTION_MESSAGE);
if (port == null)
return;
! String msg = JOptionPane.showInputDialog(this, "Message:", "Message.",
JOptionPane.QUESTION_MESSAGE);
--- 4294,4303 ----
String port = JOptionPane.showInputDialog(this, "Server Port:",
! "Send message over Echo TCP. Port.", JOptionPane.QUESTION_MESSAGE);
if (port == null)
return;
! String msg = JOptionPane.showInputDialog(this, "Message:", "Send message over Echo TCP. Message.",
JOptionPane.QUESTION_MESSAGE);
***************
*** 4306,4310 ****
String cnt = JOptionPane.showInputDialog(this, "Quantity:",
! "How many times send.", JOptionPane.QUESTION_MESSAGE);
if (port != null && ip != null && msg != null && cnt != null) {
--- 4306,4310 ----
String cnt = JOptionPane.showInputDialog(this, "Quantity:",
! "Send message over Echo TCP. How many times send?", JOptionPane.QUESTION_MESSAGE);
if (port != null && ip != null && msg != null && cnt != null) {
|