From a8f5d8345278d27ddf5325d3977e460b86b6275f Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Tue, 27 Apr 2010 20:56:50 +0000
Subject: [PATCH] Fixing several issues with the Control Panel, the QuickSetup, Core server and Replication. Also improves unit, functional tests. More specifically this commit resolves the following open issues: 4385 - NPE when using ExtensibleMatch filter without a matching rule 4521 - dynamic lookup in attribut selection when selecting the sort order attribut while defining VLV index 4531 - Control Panel creates virtual static groups using groupOfURLs as objectclass 4533 - NullPointerException when configuring replication between 2 OpenDS 4539 - DSML Gateway - jaxb.properties Exception
---
opends/src/quicksetup/org/opends/quicksetup/installer/ui/SuffixesToReplicatePanel.java | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SuffixesToReplicatePanel.java b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SuffixesToReplicatePanel.java
index 8bce571..42d41e5 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SuffixesToReplicatePanel.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/installer/ui/SuffixesToReplicatePanel.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008-2009 Sun Microsystems, Inc.
+ * Copyright 2008-2010 Sun Microsystems, Inc.
*/
package org.opends.quicksetup.installer.ui;
@@ -301,6 +301,7 @@
{
checkBoxPanel.removeAll();
GridBagConstraints gbc = new GridBagConstraints();
+ gbc.gridy = 0;
gbc.fill = GridBagConstraints.BOTH;
gbc.anchor = GridBagConstraints.NORTH;
boolean first = true;
@@ -315,6 +316,7 @@
gbc.gridwidth = GridBagConstraints.RELATIVE;
JCheckBox cb = hmCheckBoxes.get(suffix.getId());
cb.setVerticalAlignment(SwingConstants.TOP);
+ gbc.gridx = 0;
checkBoxPanel.add(cb, gbc);
gbc.insets.left = UIFactory.LEFT_INSET_PRIMARY_FIELD;
gbc.weightx = 1.0;
@@ -331,10 +333,15 @@
gbc.insets.top += Math.abs(cb.getPreferredSize().height -
proto.getPreferredSize().height) / 2;
+ gbc.gridx = 1;
checkBoxPanel.add(l, gbc);
first = false;
+ gbc.gridy ++;
}
- addVerticalGlue(checkBoxPanel);
+ gbc.weighty = 1.0;
+ gbc.insets = UIFactory.getEmptyInsets();
+ gbc.fill = GridBagConstraints.VERTICAL;
+ checkBoxPanel.add(Box.createVerticalGlue(), gbc);
}
private String getSuffixString(SuffixDescriptor desc)
--
Gitblit v1.10.0