| | |
| | | { |
| | | private static final long serialVersionUID = -9123358652232556732L; |
| | | |
| | | /** |
| | | * The string to be used as combo separator. |
| | | */ |
| | | /** The string to be used as combo separator. */ |
| | | public static final String COMBO_SEPARATOR = "----------"; |
| | | |
| | | /** |
| | | * The not applicable message. |
| | | */ |
| | | /** The not applicable message. */ |
| | | protected static final LocalizableMessage NOT_APPLICABLE = INFO_NOT_APPLICABLE_LABEL.get(); |
| | | |
| | | private static final LocalizableMessage AUTHENTICATE = INFO_AUTHENTICATE_BUTTON_LABEL.get(); |
| | |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * Constructor. |
| | | */ |
| | | /** Constructor. */ |
| | | protected StatusGenericPanel() |
| | | { |
| | | super(new GridBagLayout()); |
| | |
| | | p.add(errorPane, gbc); |
| | | } |
| | | |
| | | /** |
| | | * Creates the error pane. |
| | | */ |
| | | /** Creates the error pane. */ |
| | | protected void createErrorPane() |
| | | { |
| | | errorPane = Utilities.makeHtmlPane("", ColorAndFontConstants.progressFont); |
| | |
| | | comp.setFont(ColorAndFontConstants.defaultFont); |
| | | } |
| | | |
| | | /** |
| | | * Packs the parent dialog. |
| | | */ |
| | | /** Packs the parent dialog. */ |
| | | protected void packParentDialog() |
| | | { |
| | | Window dlg = Utilities.getParentDialog(this); |
| | |
| | | errorPane, title, ColorAndFontConstants.errorTitleFont, mb.toMessage(), ColorAndFontConstants.defaultFont); |
| | | SwingUtilities.invokeLater(new Runnable() |
| | | { |
| | | /** {@inheritDoc} */ |
| | | @Override |
| | | public void run() |
| | | { |