tn5250j/src/org/tn5250j/sql SqlWizard.java,1.7,1.8
Patrick Bielen <[email protected]> Wed, 31 Mar 2004 12:25:11 +0000
| Newsgroups | gmane.comp.java.tn5250j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tn5250j/tn5250j/src/org/tn5250j/sql
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23849/src/org/tn5250j/sql
Modified Files:
SqlWizard.java
Log Message:
Submitted by: Kenneth
Various updates to update CVS with actual code
Index: SqlWizard.java
===================================================================
RCS file: /cvsroot/tn5250j/tn5250j/src/org/tn5250j/sql/SqlWizard.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** SqlWizard.java 20 Jan 2004 15:53:28 -0000 1.7
--- SqlWizard.java 31 Mar 2004 12:25:09 -0000 1.8
***************
*** 29,33 ****
import java.awt.*;
import java.awt.event.*;
- import java.util.Properties;
import javax.swing.*;
import com.ibm.as400.vaccess.*;
--- 29,32 ----
***************
*** 53,57 ****
private String queryText;
private JTextArea queryTextArea;
- private static Properties sessions = new Properties();
public SqlWizard(String host, String name, String password ) {
--- 52,55 ----
***************
*** 125,140 ****
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;
if (frameSize.width > screenSize.width)
frameSize.width = screenSize.width;
-
- setSize(frameSize.width, frameSize.height);
setLocation((screenSize.width - frameSize.width) / 2,
! (screenSize.height - frameSize.height) / 3);
setVisible(true);
--- 123,133 ----
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
Dimension frameSize = getSize();
if (frameSize.height > screenSize.height)
frameSize.height = screenSize.height;
if (frameSize.width > screenSize.width)
frameSize.width = screenSize.width;
setLocation((screenSize.width - frameSize.width) / 2,
! (screenSize.height - frameSize.height) / 2);
setVisible(true);
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click