summaryrefslogtreecommitdiff
path: root/BKUGuiExt/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'BKUGuiExt/src/main/java')
-rw-r--r--BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java11
-rw-r--r--BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java2
2 files changed, 9 insertions, 4 deletions
diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java
index 378395eb..62fb4f02 100644
--- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java
+++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUI.java
@@ -88,6 +88,8 @@ public class IdentityLinkGUI extends CardMgmtGUI implements
public void run() {
log.debug("Show Identity Link dialog.");
+ helpListener.setHelpTopic(HELP_IDENTITYLINK);
+
mainPanel.removeAll();
buttonPanel.removeAll();
@@ -201,22 +203,23 @@ public class IdentityLinkGUI extends CardMgmtGUI implements
.addGroup(mainPanelLayout.createParallelGroup(Alignment.LEADING)
.addComponent(firstNameLabel)
.addComponent(lastNameLabel)
- .addComponent(birthdateLabel)))))
+ .addComponent(birthdateLabel))
+ .addContainerGap(50, Integer.MAX_VALUE))))
);
mainPanelLayout.setVerticalGroup(
mainPanelLayout.createParallelGroup(Alignment.LEADING)
.addGroup(mainPanelLayout.createSequentialGroup()
//.addContainerGap()
.addGroup(messageVertical)
- .addPreferredGap(ComponentPlacement.UNRELATED)
+ .addPreferredGap(ComponentPlacement.RELATED)
.addGroup(mainPanelLayout.createParallelGroup(Alignment.BASELINE)
.addComponent(firstNameLabel_description)
.addComponent(firstNameLabel))
- //.addPreferredGap(ComponentPlacement.UNRELATED)
+ .addPreferredGap(ComponentPlacement.RELATED)
.addGroup(mainPanelLayout.createParallelGroup(Alignment.BASELINE)
.addComponent(lastNameLabel_description)
.addComponent(lastNameLabel))
- //.addPreferredGap(ComponentPlacement.UNRELATED)
+ .addPreferredGap(ComponentPlacement.RELATED)
.addGroup(mainPanelLayout.createParallelGroup(Alignment.BASELINE)
.addComponent(birthdateLabel_description)
.addComponent(birthdateLabel)))
diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java
index 2b96dc6e..784b623a 100644
--- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java
+++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/IdentityLinkGUIFacade.java
@@ -32,6 +32,8 @@ import java.awt.event.ActionListener;
*/
public interface IdentityLinkGUIFacade extends BKUGUIFacade {
+ public static final String HELP_IDENTITYLINK = "help.identity.link";
+
public static final String FIRSTNAME = "identity.firstname";
public static final String DATEOFBIRTH = "identity.dateofbirth";
public static final String LASTNAME = "identity.lastname";