ui.toFront();
    public static void showEditCategoryDialog(CategoryUI parent,                                              CategoryCtrl control,                                              CategoryGroup group,                                              Category category)    {        CategoryEditUI ui = new CategoryEditUI(EDIT_CATEGORY_MODE,parent,                                               control,null,group,category);        ui.setTitle("Edit Phenotype");        ui.pack();        ui.show();    }