tn5250j/src/org/tn5250j My5250App.java,1.17,1.18

"Kenneth J. Pouncey" <[email protected]> Thu, 22 Jul 2004 06:09:34 +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-serv13434/src/org/tn5250j

Modified Files:
	My5250App.java 
Log Message:
Updates for headless

Index: My5250App.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/My5250App.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** My5250App.java	18 Jul 2004 13:38:53 -0000	1.17
--- My5250App.java	22 Jul 2004 06:09:31 -0000	1.18
***************
*** 108,121 ****
  
        manager = new SessionManager();
!       final Session s = manager.openSession(sesProps,"","Test Applet");
! 
!       final JTerminal jt = new JTerminal(s);
  
!       this.getContentPane().add(jt);
  
        s.connect();
        SwingUtilities.invokeLater(new Runnable() {
           public void run() {
!             jt.grabFocus();
           }
        });
--- 108,122 ----
  
        manager = new SessionManager();
!       final Session5250 s = manager.openSession(sesProps,"","Test Applet");
!       final SessionGUI gui = new SessionGUI(s);
! //      final JTerminal jt = new JTerminal(s);
  
!       this.getContentPane().add(gui);
  
        s.connect();
        SwingUtilities.invokeLater(new Runnable() {
           public void run() {
! //            jt.grabFocus();
!             gui.grabFocus();
           }
        });



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click