summaryrefslogtreecommitdiff
path: root/BKUGuiExt
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-04-02 16:39:29 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2012-04-02 16:39:29 +0000
commit754fc11410593b4fca91b3e0cfa07460d83fa02c (patch)
tree7220c5df4ac67e31eb675d1237ad2934406c330f /BKUGuiExt
parent59ff704aac82e8e746d4227cf6d881d32e6cb109 (diff)
downloadmocca-754fc11410593b4fca91b3e0cfa07460d83fa02c.tar.gz
mocca-754fc11410593b4fca91b3e0cfa07460d83fa02c.tar.bz2
mocca-754fc11410593b4fca91b3e0cfa07460d83fa02c.zip
@Hardware Info: change layout from hardware-info GUI
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1065 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUGuiExt')
-rw-r--r--BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java29
1 files changed, 14 insertions, 15 deletions
diff --git a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java
index 9bbe312f..a6aabb2f 100644
--- a/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java
+++ b/BKUGuiExt/src/main/java/at/gv/egiz/bku/gui/GetHardwareInfoGUI.java
@@ -31,6 +31,7 @@ import java.util.Locale;
import javax.swing.GroupLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
+import javax.swing.LayoutStyle;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.swing.SwingConstants;
import javax.swing.SwingUtilities;
@@ -192,22 +193,20 @@ public class GetHardwareInfoGUI extends CardMgmtGUI implements
.addComponent(lblTypeContent, GroupLayout.DEFAULT_SIZE, 236, Short.MAX_VALUE)
.addComponent(lblAtrContent, GroupLayout.DEFAULT_SIZE, 233, Short.MAX_VALUE)))
);
+
gl_cardpanel.setVerticalGroup(
- gl_cardpanel.createParallelGroup(GroupLayout.Alignment.LEADING)
- .addGroup(gl_cardpanel.createSequentialGroup()
- .addGroup(gl_cardpanel.createParallelGroup(GroupLayout.Alignment.BASELINE)
- .addGroup(gl_cardpanel.createSequentialGroup()
- .addGap(2)
- .addComponent(lblType, GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE))
- .addComponent(lblTypeContent, GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE))
- .addPreferredGap(ComponentPlacement.RELATED)
- .addGroup(gl_cardpanel.createParallelGroup(GroupLayout.Alignment.LEADING)
- .addComponent(lblAtrContent, GroupLayout.DEFAULT_SIZE, 36, Short.MAX_VALUE)
- .addGroup(gl_cardpanel.createSequentialGroup()
- .addComponent(lblAtr, GroupLayout.DEFAULT_SIZE, 30, Short.MAX_VALUE)
- .addGap(6)))
- .addGap(3))
- );
+ gl_cardpanel.createParallelGroup(GroupLayout.Alignment.LEADING)
+ .addGroup(gl_cardpanel.createSequentialGroup()
+ .addGroup(gl_cardpanel.createParallelGroup(GroupLayout.Alignment.LEADING)
+ .addComponent(lblType, GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE)
+ .addComponent(lblTypeContent, GroupLayout.DEFAULT_SIZE, 23, Short.MAX_VALUE))
+ .addPreferredGap(ComponentPlacement.RELATED)
+ .addGroup(gl_cardpanel.createParallelGroup(GroupLayout.Alignment.BASELINE)
+ .addComponent(lblAtrContent, GroupLayout.DEFAULT_SIZE, 36, Short.MAX_VALUE)
+ .addComponent(lblAtr, GroupLayout.DEFAULT_SIZE, 30, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+
cardpanel.setLayout(gl_cardpanel);
GroupLayout gl_readerpanel = new GroupLayout(readerpanel);