mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
19.30.2009 5b1f1d1f2b1feabddc5c6b27cf2a3c5765c4c111
opends/src/guitools/org/opends/guitools/controlpanel/ui/GenericDialog.java
@@ -238,7 +238,8 @@
    {
      lastComponentWithFocus = panel.getPreferredFocusComponent();
    }
    if (visible && (lastComponentWithFocus != null))
    if (visible && (lastComponentWithFocus != null) &&
        lastComponentWithFocus.isVisible())
    {
      lastComponentWithFocus.requestFocusInWindow();
    }