| | |
| | | * |
| | | * |
| | | * Copyright 2006-2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | * Portions Copyright 2011-2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.quicksetup.ui; |
| | |
| | | |
| | | import org.opends.quicksetup.event.MinimumSizeComponentListener; |
| | | import org.opends.quicksetup.util.WebBrowserException; |
| | | import org.opends.messages.Message; |
| | | import org.forgerock.i18n.LocalizableMessage; |
| | | import static org.opends.messages.QuickSetupMessages.*; |
| | | |
| | | /** |
| | |
| | | Insets pInsets = UIFactory.getCurrentStepPanelInsets(); |
| | | gbc.insets.left = 0; |
| | | gbc.fill = GridBagConstraints.BOTH; |
| | | Message msg = INFO_ERROR_BROWSER_DISPLAY_MSG.get(url); |
| | | LocalizableMessage msg = INFO_ERROR_BROWSER_DISPLAY_MSG.get(url); |
| | | JTextComponent tf = |
| | | UIFactory.makeHtmlPane(msg, |
| | | UIFactory.ERROR_DIALOG_FONT); |
| | |
| | | WebBrowserErrorDialog dlg = |
| | | new WebBrowserErrorDialog(new JFrame(), |
| | | new WebBrowserException("http://opendj.org", |
| | | Message.raw("toto"), null)); |
| | | LocalizableMessage.raw("toto"), null)); |
| | | dlg.packAndShow(); |
| | | } catch (Exception ex) |
| | | { |