| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel; |
| | |
| | | localOrRemote.pack(); |
| | | Utilities.centerOnScreen(localOrRemote); |
| | | |
| | | if (argParser.isRemote()) |
| | | { |
| | | updateLocalOrRemotePanel(localOrRemote); |
| | | } |
| | | |
| | | if (argParser.getBindPassword() != null) |
| | | { |
| | | updateLocalOrRemotePanel(localOrRemote); |
| | |
| | | getLocalOrRemotePanel(localOrRemote.getContentPane()); |
| | | if (panel != null) |
| | | { |
| | | if (argParser.isRemote()) |
| | | { |
| | | panel.setRemote(true); |
| | | } |
| | | if (argParser.getExplicitHostName() != null) |
| | | { |
| | | panel.setHostName(argParser.getExplicitHostName()); |