public void actionPerformed(ActionEvent e) {
String cmd = e.getActionCommand();
if (I18N.get("GUI.ok").equals(cmd)) {
int sortOrder = ascendingButton.isSelected()
? Group.SORT_ASCENDING : Group.SORT_DESCENDING;
NewGroupCommand ngc =
new NewGroupCommand(designer, report,
(Selectable)combo.getSelectedItem(),
sortOrder);
designer.performCommand(ngc);
dispose();
}