summaryrefslogtreecommitdiff
path: root/javainstaller2
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-07-03 10:56:54 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-07-03 10:56:54 +0000
commit17cbd06d3ccfe8acaf45104195aebe70b9729384 (patch)
tree6579f5fb289108de853c6c47b089d3217d54f8bf /javainstaller2
parente48d789b8cd0bb0604056b310fe0e2bf2f0d79b0 (diff)
INTEGRATION: CWS native87 (1.2.2); FILE MERGED
2007/06/28 15:02:26 is 1.2.2.2: #i65425# user info string on welcome page 2007/04/24 10:09:25 is 1.2.2.1: #i65425# adding header
Diffstat (limited to 'javainstaller2')
-rwxr-xr-xjavainstaller2/src/JavaSetup/org/openoffice/setup/Panel/Prologue.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/javainstaller2/src/JavaSetup/org/openoffice/setup/Panel/Prologue.java b/javainstaller2/src/JavaSetup/org/openoffice/setup/Panel/Prologue.java
index d9033bde3ea3..1532058d8d99 100755
--- a/javainstaller2/src/JavaSetup/org/openoffice/setup/Panel/Prologue.java
+++ b/javainstaller2/src/JavaSetup/org/openoffice/setup/Panel/Prologue.java
@@ -1,5 +1,41 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: Prologue.java,v $
+ *
+ * $Revision: 1.3 $
+ *
+ * last change: $Author: rt $ $Date: 2007-07-03 11:56:54 $
+ *
+ * The Contents of this file are made available subject to
+ * the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2005 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ ************************************************************************/
+
package org.openoffice.setup.Panel;
+import org.openoffice.setup.InstallData;
import org.openoffice.setup.PanelHelper.PanelLabel;
import org.openoffice.setup.PanelHelper.PanelTitle;
import org.openoffice.setup.ResourceManager;
@@ -30,6 +66,14 @@ public class Prologue extends JPanel {
contentPanel.add(label1, BorderLayout.NORTH);
contentPanel.add(label2, BorderLayout.CENTER);
+ InstallData data = InstallData.getInstance();
+
+ if ( data.isUserInstallation() ) {
+ String text3 = ResourceManager.getString("String_Prologue4");
+ PanelLabel label3 = new PanelLabel(text3, true);
+ contentPanel.add(label3, BorderLayout.SOUTH);
+ }
+
add(contentPanel, BorderLayout.CENTER);
}
}