ui.toFront();
    public static void showEditGroupDialog(CategoryUI parent,                                           CategoryCtrl control,                                           CategoryGroup group)    {        CategoryEditUI ui = new CategoryEditUI(EDIT_GROUP_MODE,parent,                                               control,null,group,null);        ui.setTitle("Edit Group");        ui.pack();        ui.show();    }