tn5250j/src/org/tn5250j/sql SqlWizard.java,1.6,1.7

[email protected]
Newsgroups gmane.comp.java.tn5250j.cvs
Message-ID <[email protected]>
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/sql
In directory sc8-pr-cvs1:/tmp/cvs-serv26694/src/org/tn5250j/sql

Modified Files:
	SqlWizard.java 
Log Message:
Several bugfixes.

Index: SqlWizard.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/sql/SqlWizard.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** SqlWizard.java	22 Dec 2003 14:19:54 -0000	1.6
--- SqlWizard.java	20 Jan 2004 15:53:28 -0000	1.7
***************
*** 34,38 ****
  import com.ibm.as400.access.*;
  import java.sql.*;
- import org.tn5250j.My5250;
  import org.tn5250j.tools.LangTool;
  import org.tn5250j.tools.GUIGraphicsUtils;
--- 34,37 ----
***************
*** 126,130 ****
           Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
           Dimension frameSize = getSize();
!    		frameSize.height = (Integer.parseInt(My5250.sessions.getProperty("emul.height"))-100);
           if (frameSize.height > screenSize.height)
              frameSize.height = screenSize.height;
--- 125,131 ----
           Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
           Dimension frameSize = getSize();
! 		Rectangle sb = OperatingSystem.getScreenBounds();
! 
!    		frameSize.height = (sb.height - 100);
           if (frameSize.height > screenSize.height)
              frameSize.height = screenSize.height;




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.