ui.toFront();
    public static void showCreateCategoryDialog(CategoryUI parent,                                                CategoryCtrl control,                                                CategoryGroup group)    {        CategoryEditUI ui = new CategoryEditUI(NEW_CATEGORY_MODE,parent,                                               control,group,null,null);        ui.setTitle("Create Phenotype");        ui.pack();        ui.show();    }