1 /* ******************************************************************** **
2 ** Copyright notice **
3 ** **
4 ** (c) 2003 WiSim Development Team **
5 ** http://wisim.sourceforge.net/ **
6 ** **
7 ** All rights reserved **
8 ** **
9 ** This script is part of the WiSim Business Game project. The WiSim **
10 ** project is free software; you can redistribute it and/or modify **
11 ** it under the terms of the GNU General Public License as published by **
12 ** the Free Software Foundation; either version 2 of the License, or **
13 ** (at your option) any later version. **
14 ** **
15 ** The GNU General Public License can be found at **
16 ** http://www.gnu.org/copyleft/gpl.html. **
17 ** A copy is found in the textfile GPL.txt and important notices to the **
18 ** license from the team is found in the textfile LICENSE.txt distributed **
19 ** in these package. **
20 ** **
21 ** This copyright notice MUST APPEAR in all copies of the file! **
22 ** ******************************************************************** */
23
24 /*
25 * JPanelHilfe.java
26 *
27 * Created on 10. Februar 2003, 20:26
28 */
29
30 package net.sourceforge.wisim.controller;
31
32 import javax.swing.JOptionPane;
33
34 /**
35 *
36 * @author Kay Patzwald
37 */
38 public class JPanelHilfe extends javax.swing.JPanel {
39
40 /** Creates new form JPanelHilfe */
41 public JPanelHilfe(WiSimMainController wiSimMainController) {
42 initComponents();
43 modGui();
44 }
45
46
47 /** This method is called from within the constructor to
48 * initialize the form.
49 * WARNING: Do NOT modify this code. The content of this method is
50 * always regenerated by the Form Editor.
51 */
52 private void initComponents() {//GEN-BEGIN:initComponents
53 jOptionPaneVerInfo = new javax.swing.JOptionPane();
54 jScrollPaneHilfe = new javax.swing.JScrollPane();
55 jTextAreaInfo = new javax.swing.JTextArea();
56 jLabelHilfe = new javax.swing.JLabel();
57 jButtonAbout = new javax.swing.JButton();
58
59 jOptionPaneVerInfo.setMessageType(1);
60
61 setLayout(null);
62
63 jTextAreaInfo.setEditable(false);
64 jTextAreaInfo.setLineWrap(true);
65 jTextAreaInfo.setText("Welcome to WiSim, a business game.\n\n\nVisit us at\n http://wisim.sourceforge.net.\n\t\nVisit our forum for bugreports, feature requests, development or general dicussion.\n\nThe following topics were implemented in version 1.0: \n - Single-User-Application \n - simulation of production \n - simulation of purchase \n - simulation of sale \n - analysis of the production / purchase / sale \n - simulation of the store house \n - customer and supplier administration\n\nIn Deutsch:\nDieses Programm ist ein Unternehmensplanspiel.\nFolgende Funktionen sind implementiert:\n\n - Kundenverwaltung (Anlegen, Editieren, L\u00f6schen, \u00dcbersicht)\n - Lieferantenverwaltung (Anlegen, Editieren, L\u00f6schen, \u00dcbersicht)\n - Auftragsverwaltung (Anlegen, \u00dcbersicht)\n - Arbeitsplatz- und Lager\u00fcbersicht mit Statusbalken\n - Zahlungseingang verwalten\n - Simulation der Produktion mit Auswertung\n\n\nCopyright notice \t\t\t\n\n(c) 2003 WiSim Development Team\nhttp://wisim.sourceforge.net/ \t\t\t \nAll rights reserved \n \nThis script is part of the WiSim Business Game project. The WiSim \nproject is free software; you can redistribute it and/or modify \nit under the terms of the GNU General Public License as published by \nthe Free Software Foundation; either version 2 of the License, or \n(at your option) any later version. \n \nThe GNU General Public License can be found at \nhttp://www.gnu.org/copyleft/gpl.html. \nA copy is found in the textfile GPL.txt and important notices to the \nlicense from the team is found in the textfile LICENSE.txt distributed \nin these package. \n\nSTAFF:\n------\n\n- Benjamin Pasero - Administrator and Developer\n- Kay Patzwald - Administrator and Developer\n");
66 jScrollPaneHilfe.setViewportView(jTextAreaInfo);
67
68 add(jScrollPaneHilfe);
69 jScrollPaneHilfe.setBounds(20, 40, 750, 851);
70
71 jLabelHilfe.setFont(new java.awt.Font("Dialog", 1, 24));
72 jLabelHilfe.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
73 jLabelHilfe.setText("Info");
74 add(jLabelHilfe);
75 jLabelHilfe.setBounds(370, 10, 70, 20);
76
77 jButtonAbout.setText("Version");
78 jButtonAbout.addActionListener(new java.awt.event.ActionListener() {
79 public void actionPerformed(java.awt.event.ActionEvent evt) {
80 jButtonAboutActionPerformed(evt);
81 }
82 });
83
84 add(jButtonAbout);
85 jButtonAbout.setBounds(370, 400, 81, 26);
86
87 }//GEN-END:initComponents
88
89 /* Workaround for a possible bug in the Netbeans GUI-Editor*/
90 private void modGui()
91 {
92 jScrollPaneHilfe.setBounds(20, 40, 750, 355);
93 }
94
95 private void jButtonAboutActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonAboutActionPerformed
96 JOptionPane.showMessageDialog(null, "Ver. 1.0.1");
97 }//GEN-LAST:event_jButtonAboutActionPerformed
98
99
100 // Variables declaration - do not modify//GEN-BEGIN:variables
101 private javax.swing.JButton jButtonAbout;
102 private javax.swing.JLabel jLabelHilfe;
103 private javax.swing.JOptionPane jOptionPaneVerInfo;
104 private javax.swing.JScrollPane jScrollPaneHilfe;
105 private javax.swing.JTextArea jTextAreaInfo;
106 // End of variables declaration//GEN-END:variables
107
108 }