tn5250j/src/org/tn5250j/tools Macronizer.java,1.14,1.15

"Kenneth J. Pouncey" <[email protected]> Thu, 09 Jun 2005 04:48:56 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25616

Modified Files:
	Macronizer.java 
Log Message:
mass update of harddrive

Index: Macronizer.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/tools/Macronizer.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Macronizer.java	10 Nov 2004 11:39:43 -0000	1.14
--- Macronizer.java	9 Jun 2005 04:48:53 -0000	1.15
***************
*** 190,202 ****
           }
        });
!       dialog.setVisible(true);
  
        // now we can process the value selected
!       String value = (String)pane.getValue();
  
!       if (value.equals(options[0])) {
!          // send option along with system request
!          if (rst.getText().length() > 0) {
!             invoke(rst.getText(),session);
           }
        }
--- 190,207 ----
           }
        });
!       dialog.show();
  
        // now we can process the value selected
!       // now we can process the value selected
!       // if its Integer, the user most likely hit escape
!       Object myValue = pane.getValue();
!       if (!(myValue instanceof Integer)) {
!          String value = (String) myValue;
  
!          if (value.equals(options[0])) {
!              // send option along with system request
!              if (rst.getText().length() > 0) {
!                  invoke(rst.getText(), session);
!              }
           }
        }



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20