summaryrefslogtreecommitdiff
path: root/client/AboutWindow.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2009-02-08 01:37:25 +0000
committerPaul Buetow <paul@buetow.org>2009-02-08 01:37:25 +0000
commit69f0e6b0bf0dc0a6c6fe8ccf17c74960697ca10c (patch)
tree4b99d266e90f2ac93e46b499b6e02c6dd4bcae18 /client/AboutWindow.java
1.0 releasedv0.1
Diffstat (limited to 'client/AboutWindow.java')
-rw-r--r--client/AboutWindow.java49
1 files changed, 49 insertions, 0 deletions
diff --git a/client/AboutWindow.java b/client/AboutWindow.java
new file mode 100644
index 0000000..d3e8008
--- /dev/null
+++ b/client/AboutWindow.java
@@ -0,0 +1,49 @@
+package client;
+
+import shared.*;
+
+/**
+ * This window simply shows an about message about the
+ * netcalendar.
+ * @author paul.buetow
+ *
+ */
+public class AboutWindow extends InfoWindow {
+ final static long serialVersionUID = 1L;
+ /**
+ * Creates the window and shows it.
+ * @param sTitleText Specifies the title text of this JFrame.
+ * @param netCalendarClient Specifies the calendar client session object to use.
+ */
+ public AboutWindow(NetCalendarClient netCalendarClient) {
+ super(netCalendarClient, "About",
+ Config.VERSION + "\n" +
+ "Copyright (C) 2006, 2009 by Paul C. Buetow; " +
+ "Web: netcalendar.buetow.org; E-Mail: " + getEmailAddr() + "\n\n" +
+ "NetCalendar is a network capable and mostly UNIX /usr/bin/calendar database compatible Calendar application " +
+ "programmed in Java. Its initial motivation was a programming project at the Aachen " +
+ "University of Applied Sciences (www.fh-aachen.de) for the object oriented " +
+ "programming class. But it became much more than just that!\n\n" +
+ "Credits:\n\n" +
+ "Bernhard Schertl " +
+ "for testing and suggestions for improvements; Web: www.b78.org\n\n" +
+ "Prof. Dr. rer. nat. H. Fassbender " +
+ "for supervision of expert opinion; Web: www.fassbender.fh-aachen.de\n\n" +
+ "Florian P. Buetow " +
+ "for ideas concerning the splash image; Web: www.florianbuetow.com"
+ );
+ }
+
+ /**
+ * This method simply returns a string containing the contact email address.
+ * This method is needed to protect this sourcecode + the email address for
+ * internet spam because some spambots try to fetch this address from the
+ * cvsweb interface.
+ * @return Returns a string containing the contact email address.
+ */
+ private static String getEmailAddr() {
+ String sEmail = "netcalendar at dev dot buetow dot org";
+ sEmail = sEmail.replaceAll(" at ", "@");
+ return sEmail.replaceAll(" dot ", ".");
+ }
+}