n = 1;
groupComponents = new Vector();
for (int i = 1; i <= currentGVGroup.getGvs().size(); i++) {
GV gv = (GV)currentGVGroup.getGvs().get(i - 1);
JPanel panel = new JPanel();
panel.setBorder(new TitledBorder(TxtManager.getTxt("VIEW.GV." + gv.getVid())));
panel.setLayout(new FormLayout(
new ColumnSpec[] {
new ColumnSpec("10px"),
FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
new ColumnSpec("150px"),
FormFactory.LABEL_COMPONENT_GAP_COLSPEC,
new ColumnSpec("150px")
},
RowSpec.decodeSpecs("5px, default, 5px")));
JLabel label = new JLabel(TxtManager.getTxt("VIEW.GV." + gv.getVid()));
panel.add(label, cc.xy(3, 2));
JComponent component = GVManager.getComponent(gv);
groupComponents.add(component);
panel.add(component, cc.xy(5, 2));