blob: d3e8008bd11e2546d746aad315374d1871710f24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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 ", ".");
}
}
|