[jsword-svn] r1010 -
trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/book/install
dmsmith at crosswire.org
dmsmith at crosswire.org
Fri Feb 24 21:38:33 MST 2006
Author: dmsmith
Date: 2006-02-24 21:38:29 -0700 (Fri, 24 Feb 2006)
New Revision: 1010
Modified:
trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/book/install/EditSitePane.java
Log:
Fixed a bug in the display of the EditSitePane.
Modified: trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/book/install/EditSitePane.java
===================================================================
--- trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/book/install/EditSitePane.java 2006-02-21 12:55:43 UTC (rev 1009)
+++ trunk/bibledesktop/src/main/java/org/crosswire/bibledesktop/book/install/EditSitePane.java 2006-02-25 04:38:29 UTC (rev 1010)
@@ -171,6 +171,7 @@
pnlBtn2.add(btnReset, null);
siteEditorPane = new JPanel();
+ siteEditorPane.setLayout(new GridBagLayout());
JPanel pnlMain = new JPanel();
pnlMain.setLayout(new GridBagLayout());
pnlMain.add(lblMesg, new GridBagConstraints(0, 0, 2, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(10, 10, 10, 10), 0, 0));
@@ -513,7 +514,7 @@
if (installer != null)
{
siteEditor = SiteEditorFactory.createSiteEditor(installer);
- siteEditorPane.add((Component) siteEditor);
+ siteEditorPane.add((Component) siteEditor,new GridBagConstraints(0, 0, 1, 1, 1.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
}
GuiUtil.refresh(this);
More information about the jsword-svn
mailing list