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

Jean-Noël Rouvignac
20.36.2016 2a3158aad80fc910b83336485b3e545dea50066c
opendj-server-legacy/src/main/java/org/opends/quicksetup/ui/WebBrowserErrorDialog.java
@@ -12,7 +12,7 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2006-2008 Sun Microsystems, Inc.
 * Portions Copyright 2011-2014 ForgeRock AS.
 * Portions Copyright 2011-2016 ForgeRock AS.
 */
package org.opends.quicksetup.ui;
@@ -44,7 +44,6 @@
 * to copy it to the system clipboard.  This way (even if not ideal) the user
 * can view the contents of the URL we display by pasting manually the URL
 * in his/her browser.
 *
 */
public class WebBrowserErrorDialog extends JDialog
{
@@ -68,10 +67,7 @@
    getContentPane().add(createPanel());
  }
  /**
   * Packs and displays this dialog.
   *
   */
  /** Packs and displays this dialog. */
  public void packAndShow()
  {
    pack();
@@ -118,6 +114,7 @@
            INFO_ERROR_BROWSER_COPY_BUTTON_TOOLTIP.get());
    copyButton.addActionListener(new ActionListener()
    {
      @Override
      public void actionPerformed(ActionEvent ev)
      {
        StringSelection s = new StringSelection(url);
@@ -148,6 +145,7 @@
    p2.add(closeButton, gbc);
    closeButton.addActionListener(new ActionListener()
    {
      @Override
      public void actionPerformed(ActionEvent ev)
      {
        dispose();