tn5250j/src/org/tn5250j My5250.java,1.41,1.42

"Kenneth J. Pouncey" <[email protected]> Fri, 17 Jun 2005 04:47:03 +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-serv2706/src/org/tn5250j

Modified Files:
	My5250.java 
Log Message:
Hopefully fix the problem with the splash screen not going away

Index: My5250.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/My5250.java,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** My5250.java	16 Jun 2005 04:41:17 -0000	1.41
--- My5250.java	17 Jun 2005 04:47:00 -0000	1.42
***************
*** 345,350 ****
              if (!m.frame1.isVisible()) {
                 m.splash.updateProgress(++m.step);
-                m.frame1.setVisible(true);
                 m.splash.setVisible(false);
                 m.frame1.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
              }
--- 345,350 ----
              if (!m.frame1.isVisible()) {
                 m.splash.updateProgress(++m.step);
                 m.splash.setVisible(false);
+                m.frame1.setVisible(true);
                 m.frame1.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
              }
***************
*** 484,487 ****
--- 484,488 ----
     private String getConnectSession () {
  
+       splash.setVisible(false);
        Connect sc = new Connect(frame1,LangTool.getString("ss.title"),sessions);
  
***************
*** 583,588 ****
           }
  
-          frame1.setVisible(true);
           splash.setVisible(false);
           frame1.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
        }
--- 584,589 ----
           }
  
           splash.setVisible(false);
+          frame1.setVisible(true);
           frame1.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
        }
***************
*** 591,596 ****
              splash.updateProgress(++step);
              newView();
-             frame1.setVisible(true);
              splash.setVisible(false);
              frame1.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
  
--- 592,597 ----
              splash.updateProgress(++step);
              newView();
              splash.setVisible(false);
+             frame1.setVisible(true);
              frame1.setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
  



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click