From 89c679eb813611a2ede208b4c8e27c7f596b3be7 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 18 Feb 2009 23:01:21 +0000 Subject: added copyright to header --- sources/client/AboutWindow.java | 80 +++++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 38 deletions(-) (limited to 'sources/client/AboutWindow.java') diff --git a/sources/client/AboutWindow.java b/sources/client/AboutWindow.java index 38d947e..f55b5e1 100644 --- a/sources/client/AboutWindow.java +++ b/sources/client/AboutWindow.java @@ -1,3 +1,7 @@ +/* NetCalendar 2006, 2009 (c) Dipl.-Inform. (FH) Paul C. Buetow + * http://netcalendar.buetow.org - netcalendar@dev.buetow.org + */ + package client; import shared.*; @@ -8,43 +12,43 @@ import shared.*; * */ 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" + - "(c) 2006, 2009 by Dipl.-Inform. (FH) 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\n\n" + - "Kay Czarnotta " + - "for ideas concerning the icon and an optimization tip for NetCalendar for Mac OS X; Web: eagleeye.byte-welt.net" - ); - } + 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" + + "(c) 2006, 2009 by Dipl.-Inform. (FH) 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\n\n" + + "Kay Czarnotta " + + "for ideas concerning the icon and an optimization tip for NetCalendar for Mac OS X; Web: eagleeye.byte-welt.net" + ); + } - /** - * 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 ", "."); - } + /** + * 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 ", "."); + } } -- cgit v1.2.3