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

Ludovic Poitou
07.35.2011 3c62241572c7b043743d66adf53bb1633af43506
opendj-sdk/opends/src/guitools/org/opends/guitools/controlpanel/ControlPanel.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2008-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 */
package org.opends.guitools.controlpanel;
@@ -140,6 +141,11 @@
    localOrRemote.pack();
    Utilities.centerOnScreen(localOrRemote);
    if (argParser.isRemote())
    {
      updateLocalOrRemotePanel(localOrRemote);
    }
    if (argParser.getBindPassword() != null)
    {
      updateLocalOrRemotePanel(localOrRemote);
@@ -217,6 +223,10 @@
      getLocalOrRemotePanel(localOrRemote.getContentPane());
    if (panel != null)
    {
      if (argParser.isRemote())
      {
        panel.setRemote(true);
      }
      if (argParser.getExplicitHostName() != null)
      {
        panel.setHostName(argParser.getExplicitHostName());