members.add(commandManager.getCommand(commandIds[i]));
}
CellConstraints cc = new CellConstraints();
CommandGroupFactoryBean commandGroupFactory = new CommandGroupFactoryBean("buttonBar", members.toArray());
panel.add(new JLabel(getMessage("buttonBar.label")), cc.xy(1, 1));
panel.add(commandGroupFactory.getCommandGroup().createButtonBar(), cc.xyw(1, 3, 3));
JTextField toolbarTextField = new JTextField(20);
toolbarTextField.setText("input");
members.add(toolbarTextField);
commandGroupFactory = new CommandGroupFactoryBean("buttonStack", members.toArray());
panel.add(new JLabel(getMessage("buttonStack.label")), cc.xy(1, 5));
panel.add(commandGroupFactory.getCommandGroup().createButtonStack(), cc.xy(3, 5));
return panel;
}