tn5250j/src/org/tn5250j Configure.java,1.10,1.11 SessionBean.java,1.3,1.4 My5250App.java,1.19,1.20 Gui5250.java,1.74,1.75

Patrick Bielen <[email protected]> Wed, 10 Nov 2004 11:39:43 +0000
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23245/src/org/tn5250j

Modified Files:
	Configure.java SessionBean.java My5250App.java Gui5250.java 
Log Message:
Several fixes for eclipse warnings... to keep code clean and to change
deprecated commands into undeprecated commands.

Index: SessionBean.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/SessionBean.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** SessionBean.java	1 Aug 2004 14:38:06 -0000	1.3
--- SessionBean.java	10 Nov 2004 11:39:40 -0000	1.4
***************
*** 260,264 ****
              try
              {
!               Thread.currentThread().sleep(100);
              }
              catch (InterruptedException ex)
--- 260,264 ----
              try
              {
!               Thread.sleep(100);
              }
              catch (InterruptedException ex)
***************
*** 343,347 ****
    {
      if (preferredSize == null)
!       this.setPreferredSize(this.deriveOptimalSize(this, this.getFont(), 80, 24));
  
      return super.getPreferredSize();
--- 343,347 ----
    {
      if (preferredSize == null)
!       this.setPreferredSize(SessionBean.deriveOptimalSize(this, this.getFont(), 80, 24));
  
      return super.getPreferredSize();

Index: My5250App.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/My5250App.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** My5250App.java	30 Jul 2004 06:02:43 -0000	1.19
--- My5250App.java	10 Nov 2004 11:39:40 -0000	1.20
***************
*** 10,15 ****
  import org.tn5250j.framework.common.*;
  
- import org.tn5250j.swing.JTerminal;
- 
  public class My5250App extends JApplet implements TN5250jConstants {
     boolean isStandalone = true;
--- 10,13 ----

Index: Configure.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Configure.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Configure.java	1 Jul 2004 10:35:29 -0000	1.10
--- Configure.java	10 Nov 2004 11:39:40 -0000	1.11
***************
*** 455,459 ****
        dialog = pane.createDialog(parentComponent, title); //, JRootPane.PLAIN_DIALOG);
  
!       dialog.show();
  
  
--- 455,459 ----
        dialog = pane.createDialog(parentComponent, title); //, JRootPane.PLAIN_DIALOG);
  
!       dialog.setVisible(true);
  
  

Index: Gui5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/Gui5250.java,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -d -r1.74 -r1.75
*** Gui5250.java	1 Aug 2004 21:15:33 -0000	1.74
--- Gui5250.java	10 Nov 2004 11:39:40 -0000	1.75
***************
*** 29,34 ****
  import java.awt.*;
  import java.awt.event.*;
- import java.awt.dnd.*;
- import java.awt.datatransfer.*;
  import javax.swing.*;
  import java.util.*;
--- 29,32 ----
***************
*** 40,44 ****
  import org.tn5250j.event.SessionJumpEvent;
  import org.tn5250j.event.SessionJumpListener;
- import org.tn5250j.event.SessionChangeEvent;
  import org.tn5250j.event.SessionConfigListener;
  import org.tn5250j.event.SessionConfigEvent;
--- 38,41 ----



-------------------------------------------------------
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