summaryrefslogtreecommitdiff
path: root/scripting/workben/installer/Welcome.java
diff options
context:
space:
mode:
authorneilm <neilm@openoffice.org>2002-11-13 12:04:39 +0000
committerneilm <neilm@openoffice.org>2002-11-13 12:04:39 +0000
commit5be524976e257b56ace9d219f9af82eb41abea17 (patch)
treee6a45b3e180e41c09469404785e1b0ed4c6ac9e8 /scripting/workben/installer/Welcome.java
parent64b8f1ca6d3b2020c847b04c9038b92897c8d95b (diff)
Initial Import of source files for the Scripting Framework Installer
Diffstat (limited to 'scripting/workben/installer/Welcome.java')
-rw-r--r--scripting/workben/installer/Welcome.java69
1 files changed, 69 insertions, 0 deletions
diff --git a/scripting/workben/installer/Welcome.java b/scripting/workben/installer/Welcome.java
new file mode 100644
index 000000000000..9988f81fe318
--- /dev/null
+++ b/scripting/workben/installer/Welcome.java
@@ -0,0 +1,69 @@
+/*
+ * Welcome.java
+ *
+ * Created on 04 July 2002, 15:43
+ */
+
+/**
+ *
+ * @author mike
+ */
+import java.awt.event.*;
+import javax.swing.*;
+import java.io.*;
+import java.net.*;
+
+public class Welcome extends javax.swing.JPanel implements ActionListener {
+
+ /** Creates new form Welcome */
+ public Welcome(InstallWizard wizard) {
+ this.wizard = wizard;
+ setBorder(new javax.swing.border.EtchedBorder(javax.swing.border.EtchedBorder.RAISED));
+ initComponents();
+ }
+
+ /** This method is called from within the constructor to
+ * initialize the form.
+ * WARNING: Do NOT modify this code. The content of this method is
+ * always regenerated by the Form Editor.
+ */
+ private void initComponents() {//GEN-BEGIN:initComponents
+ welcomePanel = new javax.swing.JPanel();
+ area = new javax.swing.JTextArea();
+
+ setLayout(new java.awt.BorderLayout());
+
+ welcomePanel.setLayout(new java.awt.BorderLayout());
+ //area.setHorizontalAlignment(javax.swing.JTextField.CENTER);
+ area.setEditable(false);
+ area.setLineWrap(true);
+ area.setText("\n \t Please ensure that you have exited from Office");
+
+ welcomePanel.add(area, java.awt.BorderLayout.CENTER);
+ add(welcomePanel, java.awt.BorderLayout.CENTER);
+ NavPanel nav = new NavPanel(wizard, false, true, true, "", InstallWizard.VERSIONS);
+ nav.setNextListener(this);
+ add(nav, java.awt.BorderLayout.SOUTH);
+
+ //Banner br = new Banner();
+ //add(br, java.awt.BorderLayout.WEST);
+
+ }//GEN-END:initComponents
+
+ public java.awt.Dimension getPreferredSize() {
+ return new java.awt.Dimension(InstallWizard.DEFWIDTH, InstallWizard.DEFHEIGHT);
+ }
+
+ public void actionPerformed(ActionEvent ev)
+ {
+ //Perform next actions here...
+ }
+
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JPanel welcomePanel;
+ private javax.swing.JTextArea area;
+ private InstallWizard wizard;
+
+ // End of variables declaration//GEN-END:variables
+}