tn5250j/src/org/tn5250j/tools Macronizer.java,1.13,1.14 XTFRFile.java,1.20,1.21 FTP5250Prot.java,1.9,1.10

Patrick Bielen <[email protected]> Wed, 10 Nov 2004 11:39:45 +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-serv23245/src/org/tn5250j/tools

Modified Files:
	Macronizer.java XTFRFile.java FTP5250Prot.java 
Log Message:
Several fixes for eclipse warnings... to keep code clean and to change
deprecated commands into undeprecated commands.

Index: XTFRFile.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/tools/XTFRFile.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** XTFRFile.java	20 Aug 2004 13:29:03 -0000	1.20
--- XTFRFile.java	10 Nov 2004 11:39:43 -0000	1.21
***************
*** 26,30 ****
  package org.tn5250j.tools;
  
- import org.tn5250j.*;
  import org.tn5250j.event.*;
  import java.awt.*;
--- 26,29 ----
***************
*** 308,312 ****
  
  			initializeMonitor();
! 			dialog.show();
  
  			if (useQuery.isSelected()) {
--- 307,311 ----
  
  			initializeMonitor();
! 			dialog.setVisible(true);
  
  			if (useQuery.isSelected()) {
***************
*** 860,869 ****
  
  		// now show the world what we can do
! 		show();
  
  	}
          
          private void txtONKeyPressed(java.awt.event.KeyEvent evt) {
!             if (evt.getKeyCode() == evt.VK_ENTER) {
                  xtfrButton.doClick();
              }
--- 859,868 ----
  
  		// now show the world what we can do
! 		setVisible(true);
  
  	}
          
          private void txtONKeyPressed(java.awt.event.KeyEvent evt) {
!             if (evt.getKeyCode() == KeyEvent.VK_ENTER) {
                  xtfrButton.doClick();
              }

Index: FTP5250Prot.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/tools/FTP5250Prot.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** FTP5250Prot.java	26 Jul 2004 19:27:08 -0000	1.9
--- FTP5250Prot.java	10 Nov 2004 11:39:43 -0000	1.10
***************
*** 34,38 ****
  import java.awt.*;
  
- import org.tn5250j.*;
  import org.tn5250j.event.*;
  import org.tn5250j.tools.filters.*;
--- 34,37 ----

Index: Macronizer.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/tools/Macronizer.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Macronizer.java	22 Jul 2004 04:57:50 -0000	1.13
--- Macronizer.java	10 Nov 2004 11:39:43 -0000	1.14
***************
*** 190,194 ****
           }
        });
!       dialog.show();
  
        // now we can process the value selected
--- 190,194 ----
           }
        });
!       dialog.setVisible(true);
  
        // now we can process the value selected



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click