From 81d36161ce5367fa7aa9a5d99dc8b80eacfa7cdf Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Fri, 24 Jan 2014 14:43:46 +0000
Subject: [PATCH] Checkpoint commit for OPENDJ-1288 : Migrate I18n and logging support to i18n framework and SLF4J
---
opendj3-server-dev/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java
index ecca485..82a7207 100644
--- a/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java
+++ b/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/installer/ui/RuntimeOptionsPanel.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2010 Sun Microsystems, Inc.
- * Portions Copyright 2013 ForgeRock AS.
+ * Portions Copyright 2013-2014 ForgeRock AS.
*/
package org.opends.quicksetup.installer.ui;
@@ -47,7 +47,7 @@
import org.opends.admin.ads.ReplicaDescriptor;
import org.opends.admin.ads.SuffixDescriptor;
-import org.opends.messages.Message;
+import org.forgerock.i18n.LocalizableMessage;
import org.opends.quicksetup.JavaArguments;
import org.opends.quicksetup.UserData;
import org.opends.quicksetup.installer.DataReplicationOptions;
@@ -185,7 +185,7 @@
/**
* {@inheritDoc}
*/
- protected Message getInstructions()
+ protected LocalizableMessage getInstructions()
{
return INFO_JAVA_RUNTIME_OPTIONS_PANEL_INSTRUCTIONS.get();
}
@@ -193,7 +193,7 @@
/**
* {@inheritDoc}
*/
- protected Message getTitle()
+ protected LocalizableMessage getTitle()
{
return INFO_JAVA_RUNTIME_OPTIONS_PANEL_TITLE.get();
}
@@ -335,12 +335,12 @@
private void createComponents()
{
- warning = UIFactory.makeHtmlPane(Message.EMPTY,
+ warning = UIFactory.makeHtmlPane(LocalizableMessage.EMPTY,
UIFactory.INSTRUCTIONS_FONT);
warning.setOpaque(false);
lServer = UIFactory.makeJLabel(UIFactory.IconType.NO_ICON,
- Message.EMPTY, UIFactory.TextStyle.SECONDARY_FIELD_VALID);
+ LocalizableMessage.EMPTY, UIFactory.TextStyle.SECONDARY_FIELD_VALID);
bServer = UIFactory.makeJButton(INFO_JAVA_RUNTIME_CHANGE_LABEL.get(),
INFO_JAVA_RUNTIME_CHANGE_SERVER_TOOLTIP.get());
bServer.addActionListener(new ActionListener()
@@ -352,7 +352,7 @@
});
lImport = UIFactory.makeJLabel(UIFactory.IconType.NO_ICON,
- Message.EMPTY, UIFactory.TextStyle.SECONDARY_FIELD_VALID);
+ LocalizableMessage.EMPTY, UIFactory.TextStyle.SECONDARY_FIELD_VALID);
bImport = UIFactory.makeJButton(INFO_JAVA_RUNTIME_CHANGE_LABEL.get(),
INFO_JAVA_RUNTIME_CHANGE_IMPORT_TOOLTIP.get());
bImport.addActionListener(new ActionListener()
@@ -377,7 +377,7 @@
private void updateWarningMessage(UserData uData)
{
- Message msg = null;
+ LocalizableMessage msg = null;
DataReplicationOptions repl = uData.getReplicationOptions();
SuffixesToReplicateOptions suf = uData.getSuffixesToReplicateOptions();
--
Gitblit v1.10.0