| | |
| | | |
| | | import org.opends.quicksetup.Installation; |
| | | import org.opends.quicksetup.ui.UIFactory; |
| | | import org.opends.quicksetup.ui.Utilities; |
| | | import org.opends.quicksetup.util.BackgroundTask; |
| | | import org.opends.quicksetup.util.HtmlProgressMessageFormatter; |
| | | import org.opends.quicksetup.util.Utils; |
| | |
| | | if (!getProgressDialog().isVisible()) |
| | | { |
| | | getProgressDialog().pack(); |
| | | Utils.centerOnComponent(getProgressDialog(), getStatusPanelDialog()); |
| | | Utilities.centerOnComponent(getProgressDialog(), |
| | | getStatusPanelDialog()); |
| | | getProgressDialog().setVisible(true); |
| | | } |
| | | |
| | |
| | | if (!getProgressDialog().isVisible()) |
| | | { |
| | | getProgressDialog().pack(); |
| | | Utils.centerOnComponent(getProgressDialog(), getStatusPanelDialog()); |
| | | Utilities.centerOnComponent(getProgressDialog(), |
| | | getStatusPanelDialog()); |
| | | getProgressDialog().setVisible(true); |
| | | } |
| | | |
| | |
| | | if (!getProgressDialog().isVisible()) |
| | | { |
| | | getProgressDialog().pack(); |
| | | Utils.centerOnComponent(getProgressDialog(), getStatusPanelDialog()); |
| | | Utilities.centerOnComponent(getProgressDialog(), |
| | | getStatusPanelDialog()); |
| | | getProgressDialog().setVisible(true); |
| | | } |
| | | |
| | |
| | | public void authenticateClicked() |
| | | { |
| | | getLoginDialog().pack(); |
| | | Utils.centerOnComponent(getLoginDialog(), getStatusPanelDialog()); |
| | | Utilities.centerOnComponent(getLoginDialog(), getStatusPanelDialog()); |
| | | getLoginDialog().setVisible(true); |
| | | if (!getLoginDialog().isCancelled()) |
| | | { |
| | |
| | | */ |
| | | private boolean confirmStop() |
| | | { |
| | | return Utils.displayConfirmation(getStatusPanelDialog(), |
| | | return Utilities.displayConfirmation(getStatusPanelDialog(), |
| | | getMsg("confirm-stop-message"), getMsg("confirm-stop-title")); |
| | | } |
| | | |
| | |
| | | */ |
| | | private boolean confirmRestart() |
| | | { |
| | | return Utils.displayConfirmation(getStatusPanelDialog(), |
| | | return Utilities.displayConfirmation(getStatusPanelDialog(), |
| | | getMsg("confirm-restart-message"), getMsg("confirm-restart-title")); |
| | | } |
| | | |