[jsword-svn] bibledesktop/java/main/org/crosswire/bibledesktop/desktop s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Apr 2 21:07:43 MST 2005


Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop
In directory www.crosswire.org:/tmp/cvs-serv16893/java/main/org/crosswire/bibledesktop/desktop

Modified Files:
	ViewSourcePane.java Desktop.java 
Log Message:
Fix bugs.

Index: Desktop.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/Desktop.java,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** Desktop.java	21 Mar 2005 02:37:18 -0000	1.38
--- Desktop.java	3 Apr 2005 04:07:41 -0000	1.39
***************
*** 127,131 ****
                      // Don't use pack.
                      // It uses preferred dimensions, which are not used here.
-                     desktop.show();
                      desktop.toFront();
                      desktop.setVisible(true);
--- 127,130 ----

Index: ViewSourcePane.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/desktop/ViewSourcePane.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** ViewSourcePane.java	12 Mar 2005 21:15:59 -0000	1.10
--- ViewSourcePane.java	3 Apr 2005 04:07:41 -0000	1.11
***************
*** 2,5 ****
--- 2,6 ----
  
  import java.awt.BorderLayout;
+ import java.awt.Dimension;
  import java.awt.FlowLayout;
  import java.awt.Font;
***************
*** 181,185 ****
          frame.getContentPane().add(this, BorderLayout.CENTER);
  
!         frame.pack();
          GuiUtil.centerWindow(frame);
          frame.setVisible(true);
--- 182,186 ----
          frame.getContentPane().add(this, BorderLayout.CENTER);
  
!         GuiUtil.setSize(frame, new Dimension(750, 500));
          GuiUtil.centerWindow(frame);
          frame.setVisible(true);



More information about the jsword-svn mailing list