From 69f0e6b0bf0dc0a6c6fe8ccf17c74960697ca10c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 8 Feb 2009 01:37:25 +0000 Subject: 1.0 released --- client/LicenseWindow.java | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 client/LicenseWindow.java (limited to 'client/LicenseWindow.java') diff --git a/client/LicenseWindow.java b/client/LicenseWindow.java new file mode 100644 index 0000000..0f683ed --- /dev/null +++ b/client/LicenseWindow.java @@ -0,0 +1,33 @@ +package client; + +import shared.*; + +/** + * This window simply shows an license message. + * @author buetow + * + */ +public class LicenseWindow extends InfoWindow { + final static long serialVersionUID = 1L; + /** + * Creates the window and shows it. + * @param netCalendarClient Specifies the calendar client session object to use. + */ + public LicenseWindow(NetCalendarClient netCalendarClient) { + super(netCalendarClient, "License", + Config.VERSION + "\n" + + "Copyright (C) 2006, 2009 by Paul C. Buetow\n\n" + + "This program is free software; you can redistribute it and/or " + + "modify it under the terms of the GNU General Public License " + + "as published by the Free Software Foundation; either version 2 " + + "of the License, or (at your option) any later version.\n\n" + + "This program is distributed in the hope that it will be useful, " + + "but WITHOUT ANY WARRANTY; without even the implied warranty of " + + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the " + + "GNU General Public License for more details.\n\n" + + "You should have received a copy of the GNU General Public License " + + "along with this program; if not, write to the Free Software " + + "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA." + ); + } +} -- cgit v1.2.3