/*
 * IReportAbout.java
 *
 * Created on 6 maggio 2004, 0.20
 */

package it.businesslogic.ireport.gui;
import java.util.*;
/**
 *
 * @author  Administrator
 */
public class IReportAbout extends javax.swing.JDialog {
    
    /** Creates new form IReportAbout */
    public IReportAbout(java.awt.Frame parent, boolean modal) {
        super(parent, modal);
        initComponents();
        
        this.setSize(354, 460);
        // Open in center...
        it.businesslogic.ireport.util.Misc.centerFrame(this);
        
        this.jEditorPaneAbout.setContentType("text/html");
        this.jEditorPaneAbout.setText ("<HTML><body><font face=\"SansSerif\" size=\"3\"><center><b> " + MainFrame.constTitle + "</b>&nbsp;&nbsp;(c) 2002-2006 by JasperSoft Corp.<br><a href=\"mailto:giulio@jaspersoft.com\">giulio@jaspersoft.com</a><br><A HREF=\"http://ireport.sf.net\">http://ireport.sourceforge.net</A><br>License GPL<br>Special thanks to Giulio Toffoli, Teodor Danciu and to all people that supports this software. Thanks.</font></body></html>");
        this.jEditorPane1.setContentType("text/html");
        //this.jEditorPane1.setText ("<h1>The GNU General Public License (GPL)</h1>\n\n<h2>Version 2, June 1991</h2>\n\n<tt>\n\n<p> Copyright (C) 1989, 1991 Free Software Foundation, Inc.<br>\n                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</p>\n<p> Everyone is permitted to copy and distribute verbatim copies<br>\n of this license document, but changing it is not allowed.</p>\n\n\t\t<strong><p>Preamble</p></strong>\n\n  <p>The licenses for most software are designed to take away your\nfreedom to share and change it.  By contrast, the GNU General Public\nLicense is intended to guarantee your freedom to share and change free\nsoftware--to make sure the software is free for all its users.  This\nGeneral Public License applies to most of the Free Software\nFoundation's software and to any other program whose authors commit to\nusing it.  (Some other Free Software Foundation software is covered by\nthe GNU Library General Public License instead.)  You can apply it to\nyour programs, too.</p>\n\n  <p>When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthis service if you wish), that you receive source code or can get it\nif you want it, that you can change the software or use pieces of it\nin new free programs; and that you know you can do these things.</p>\n<p>\n  To protect your rights, we need to make restrictions that forbid\nanyone to deny you these rights or to ask you to surrender the rights.\nThese restrictions translate to certain responsibilities for you if you\ndistribute copies of the software, or if you modify it.</p>\n\n  <p>For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must give the recipients all the rights that\nyou have.  You must make sure that they, too, receive or can get the\nsource code.  And you must show them these terms so they know their\nrights.</p>\n\n  <p>We protect your rights with two steps: (1) copyright the software, and\n(2) offer you this license which gives you legal permission to copy,\ndistribute and/or modify the software.</p>\n\n  <p>Also, for each author's protection and ours, we want to make certain\nthat everyone understands that there is no warranty for this free\nsoftware.  If the software is modified by someone else and passed on, we\nwant its recipients to know that what they have is not the original, so\nthat any problems introduced by others will not reflect on the original\nauthors' reputations.</p>\n\n  <p>Finally, any free program is threatened constantly by software\npatents.  We wish to avoid the danger that redistributors of a free\nprogram will individually obtain patent licenses, in effect making the\nprogram proprietary.  To prevent this, we have made it clear that any\npatent must be licensed for everyone's free use or not licensed at all.</p>\n\n  <p>The precise terms and conditions for copying, distribution and\nmodification follow.</p>\n\n\t\t    <strong><p>TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION</p></strong>\n\n  <p><strong>0</strong>. This License applies to any program or other work which contains\na notice placed by the copyright holder saying it may be distributed\nunder the terms of this General Public License.  The \"Program\", below,\nrefers to any such program or work, and a \"work based on the Program\"\nmeans either the Program or any derivative work under copyright law:\nthat is to say, a work containing the Program or a portion of it,\neither verbatim or with modifications and/or translated into another\nlanguage.  (Hereinafter, translation is included without limitation in\nthe term \"modification\".)  Each licensee is addressed as \"you\".</p>\n\n<p>Activities other than copying, distribution and modification are not\ncovered by this License; they are outside its scope.  The act of\nrunning the Program is not restricted, and the output from the Program\nis covered only if its contents constitute a work based on the\nProgram (independent of having been made by running the Program).\nWhether that is true depends on what the Program does.</p>\n\n  <p><strong>1</strong>. You may copy and distribute verbatim copies of the Program's\nsource code as you receive it, in any medium, provided that you\nconspicuously and appropriately publish on each copy an appropriate\ncopyright notice and disclaimer of warranty; keep intact all the\nnotices that refer to this License and to the absence of any warranty;\nand give any other recipients of the Program a copy of this License\nalong with the Program.</p>\n\n<p>You may charge a fee for the physical act of transferring a copy, and\nyou may at your option offer warranty protection in exchange for a fee.</p>\n\n<p>  <strong>2</strong>. You may modify your copy or copies of the Program or any portion\nof it, thus forming a work based on the Program, and copy and\ndistribute such modifications or work under the terms of Section 1\nabove, provided that you also meet all of these conditions:</p>\n\n<blockquote>\n    <p>a) You must cause the modified files to carry prominent notices\n    stating that you changed the files and the date of any change.</p>\n\n    <p>b) You must cause any work that you distribute or publish, that in\n    whole or in part contains or is derived from the Program or any\n    part thereof, to be licensed as a whole at no charge to all third\n    parties under the terms of this License.</p>\n\n    <p>c) If the modified program normally reads commands interactively\n    when run, you must cause it, when started running for such\n    interactive use in the most ordinary way, to print or display an\n    announcement including an appropriate copyright notice and a\n    notice that there is no warranty (or else, saying that you provide\n    a warranty) and that users may redistribute the program under\n    these conditions, and telling the user how to view a copy of this\n    License.  (Exception: if the Program itself is interactive but\n    does not normally print such an announcement, your work based on\n    the Program is not required to print an announcement.)</p></blockquote>\n\n<p>These requirements apply to the modified work as a whole.  If\nidentifiable sections of that work are not derived from the Program,\nand can be reasonably considered independent and separate works in\nthemselves, then this License, and its terms, do not apply to those\nsections when you distribute them as separate works.  But when you\ndistribute the same sections as part of a whole which is a work based\non the Program, the distribution of the whole must be on the terms of\nthis License, whose permissions for other licensees extend to the\nentire whole, and thus to each and every part regardless of who wrote it.</p>\n\n<p>Thus, it is not the intent of this section to claim rights or contest\nyour rights to work written entirely by you; rather, the intent is to\nexercise the right to control the distribution of derivative or\ncollective works based on the Program.</p>\n\n<p>In addition, mere aggregation of another work not based on the Program\nwith the Program (or with a work based on the Program) on a volume of\na storage or distribution medium does not bring the other work under\nthe scope of this License.</p>\n\n  <p><strong>3</strong>. You may copy and distribute the Program (or a work based on it,\nunder Section 2) in object code or executable form under the terms of\nSections 1 and 2 above provided that you also do one of the following:</p>\n<blockquote>\n    <p>a) Accompany it with the complete corresponding machine-readable\n    source code, which must be distributed under the terms of Sections\n    1 and 2 above on a medium customarily used for software interchange; or,</p>\n\n   <p> b) Accompany it with a written offer, valid for at least three\n    years, to give any third party, for a charge no more than your\n    cost of physically performing source distribution, a complete\n    machine-readable copy of the corresponding source code, to be\n    distributed under the terms of Sections 1 and 2 above on a medium\n    customarily used for software interchange; or,</p>\n\n    <p>c) Accompany it with the information you received as to the offer\n    to distribute corresponding source code.  (This alternative is\n    allowed only for noncommercial distribution and only if you\n    received the program in object code or executable form with such\n    an offer, in accord with Subsection b above.)</p></blockquote>\n\n<p>The source code for a work means the preferred form of the work for\nmaking modifications to it.  For an executable work, complete source\ncode means all the source code for all modules it contains, plus any\nassociated interface definition files, plus the scripts used to\ncontrol compilation and installation of the executable.  However, as a\nspecial exception, the source code distributed need not include\nanything that is normally distributed (in either source or binary\nform) with the major components (compiler, kernel, and so on) of the\noperating system on which the executable runs, unless that component\nitself accompanies the executable.</p>\n\n<p>If distribution of executable or object code is made by offering\naccess to copy from a designated place, then offering equivalent\naccess to copy the source code from the same place counts as\ndistribution of the source code, even though third parties are not\ncompelled to copy the source along with the object code.</p>\n\n  <p><strong>4</strong>. You may not copy, modify, sublicense, or distribute the Program\nexcept as expressly provided under this License.  Any attempt\notherwise to copy, modify, sublicense or distribute the Program is\nvoid, and will automatically terminate your rights under this License.\nHowever, parties who have received copies, or rights, from you under\nthis License will not have their licenses terminated so long as such\nparties remain in full compliance.</p>\n\n <p> <strong>5</strong>. You are not required to accept this License, since you have not\nsigned it.  However, nothing else grants you permission to modify or\ndistribute the Program or its derivative works.  These actions are\nprohibited by law if you do not accept this License.  Therefore, by\nmodifying or distributing the Program (or any work based on the\nProgram), you indicate your acceptance of this License to do so, and\nall its terms and conditions for copying, distributing or modifying\nthe Program or works based on it.</p>\n\n  <p><strong>6</strong>. Each time you redistribute the Program (or any work based on the\nProgram), the recipient automatically receives a license from the\noriginal licensor to copy, distribute or modify the Program subject to\nthese terms and conditions.  You may not impose any further\nrestrictions on the recipients' exercise of the rights granted herein.\nYou are not responsible for enforcing compliance by third parties to\nthis License.</p>\n\n  <p><strong>7</strong>. If, as a consequence of a court judgment or allegation of patent\ninfringement or for any other reason (not limited to patent issues),\nconditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot\ndistribute so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you\nmay not distribute the Program at all.  For example, if a patent\nlicense would not permit royalty-free redistribution of the Program by\nall those who receive copies directly or indirectly through you, then\nthe only way you could satisfy both it and this License would be to\nrefrain entirely from distribution of the Program.</p>\n\n<p>If any portion of this section is held invalid or unenforceable under\nany particular circumstance, the balance of the section is intended to\napply and the section as a whole is intended to apply in other\ncircumstances.</p>\n\n<p>It is not the purpose of this section to induce you to infringe any\npatents or other property right claims or to contest validity of any\nsuch claims; this section has the sole purpose of protecting the\nintegrity of the free software distribution system, which is\nimplemented by public license practices.  Many people have made\ngenerous contributions to the wide range of software distributed\nthrough that system in reliance on consistent application of that\nsystem; it is up to the author/donor to decide if he or she is willing\nto distribute software through any other system and a licensee cannot\nimpose that choice.</p>\n<p>\nThis section is intended to make thoroughly clear what is believed to\nbe a consequence of the rest of this License.</p>\n\n<p>  <strong>8</strong>. If the distribution and/or use of the Program is restricted in\ncertain countries either by patents or by copyrighted interfaces, the\noriginal copyright holder who places the Program under this License\nmay add an explicit geographical distribution limitation excluding\nthose countries, so that distribution is permitted only in or among\ncountries not thus excluded.  In such case, this License incorporates\nthe limitation as if written in the body of this License.</p>\n<p>\n  <strong>9</strong>. The Free Software Foundation may publish revised and/or new versions\nof the General Public License from time to time.  Such new versions will\nbe similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.</p>\n\n<p>Each version is given a distinguishing version number.  If the Program\nspecifies a version number of this License which applies to it and \"any\nlater version\", you have the option of following the terms and conditions\neither of that version or of any later version published by the Free\nSoftware Foundation.  If the Program does not specify a version number of\nthis License, you may choose any version ever published by the Free Software\nFoundation.</p>\n\n  <p><strong>10</strong>. If you wish to incorporate parts of the Program into other free\nprograms whose distribution conditions are different, write to the author\nto ask for permission.  For software which is copyrighted by the Free\nSoftware Foundation, write to the Free Software Foundation; we sometimes\nmake exceptions for this.  Our decision will be guided by the two goals\nof preserving the free status of all derivatives of our free software and\nof promoting the sharing and reuse of software generally.</p>\n\n<p><strong>NO WARRANTY</strong></p>\n\n  <p><strong>11</strong>. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\nFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN\nOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\nPROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\nOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\nMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS\nTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE\nPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\nREPAIR OR CORRECTION.</p>\n\n  <p><strong>12</strong>. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\nREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\nINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\nOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\nTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\nYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\nPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGES.</p>\n\n\t\t     <p>END OF TERMS AND CONDITIONS</p>\n\n\n\n\n\n\n\n\n<!-- START OF 'HOW TO APPLY' SECTION -->\n<p>\n<strong> How to Apply These Terms to Your New Programs</strong></p>\n\n<p>  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.</p>\n\n <p> To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nconvey the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.</p>\n\n\n<blockquote>\n    <p>one line to give the program's name and a brief idea of what it does.<br>\n    Copyright (C) <year>  <name of author></p>\n\n    <p>This program is free software; you can redistribute it and/or modify\n    it under the terms of the GNU General Public License as published by\n    the Free Software Foundation; either version 2 of the License, or\n    (at your option) any later version.</p>\n\n  <p>  This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.</p>\n\n    <p>You should have received a copy of the GNU General Public License\n    along with this program; if not, write to the Free Software\n    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</p>\n</blockquote>\n<p>\nAlso add information on how to contact you by electronic and paper mail.</p>\n\n<p>If the program is interactive, make it output a short notice like this\nwhen it starts in an interactive mode:</p>\n\n<blockquote>\n   <p> Gnomovision version 69, Copyright (C) year name of author\n    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.</p>\n</blockquote>\n\n<p>The hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, the commands you use may\nbe called something other than `show w' and `show c'; they could even be\nmouse-clicks or menu items--whatever suits your program.</p>\n<p>\nYou should also get your employer (if you work as a programmer) or your\nschool, if any, to sign a \"copyright disclaimer\" for the program, if\nnecessary.  Here is a sample; alter the names:</p>\n\n<blockquote>\n  <p>Yoyodyne, Inc., hereby disclaims all copyright interest <br>in the program\n  `Gnomovision' (which makes passes at compilers)<br>written by James Hacker.</p>\n\n  <p>signature of Ty Coon, 1 April 1989<br>\n  Ty Coon, President of Vice</p>\n  </blockquote>\n\n<p>This General Public License does not permit incorporating your program into\nproprietary programs.  If your program is a subroutine library, you may\nconsider it more useful to permit linking proprietary applications with the\nlibrary.  If this is what you want to do, use the GNU Library General\nPublic License instead of this License.</p>\n\n");
        jEditorPane1.setText("\t<font face=\"Arial\" size=\"5\"><b>The GNU General Public License</b></font><br>\n\t\t<p><font face=\"Arial\" size=\"3\">Version 2, June 1991<br>\n\t\tCopyright &copy; 1989, 1991 Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.</font></p>\n\t\t<font face=\"Arial\" size=\"3\"><b>Preamble</b></font>\n\t\t<p><font face=\"Arial\" size=\"3\">The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">The precise terms and conditions for copying, distribution and modification follow.</font></p>\n\t\t<font face=\"Arial\" size=\"3\"><b>Terms and Conditions for Copying, Distribution, and Modification</b></h3>\n\t\t<ol>\n\t\t\t<li>This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The &quot;Program&quot;, below, refers to any such program or work, and a &quot;work based on the Program&quot; means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term &quot;modification&quot;.) Each licensee is addressed as &quot;you&quot;.\n\t\t\t<p><font face=\"Arial\" size=\"3\">Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.\n\t\t\t<p><font face=\"Arial\" size=\"3\">You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:\n\t\t\t<ol>\n\t\t\t\t&nbsp;\n\t\t\t\t<li type=\"1\">You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.\n\t\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t\t<li>You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.\n\t\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t\t<li>If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)\n\t\t\t</ol>\n\t\t\t<p><font face=\"Arial\" size=\"3\">These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:\n\t\t\t<ol>\n\t\t\t\t<li type=\"1\">Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,\n\t\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t\t<li>Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,\n\t\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t\t<li>Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)\n\t\t\t</ol>\n\t\t\t<p><font face=\"Arial\" size=\"3\">The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.\n\t\t\t<p><font face=\"Arial\" size=\"3\">If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.\n\t\t\t<p><font face=\"Arial\" size=\"3\">Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and &quot;any later version&quot;, you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.</font></p>\n\t\t\t<p><font face=\"Arial\" size=\"3\">&nbsp;</font></p>\n\t\t\t<li>If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.\n\t\t</ol>\n\t\t<font face=\"Arial\" size=\"3\"><b>NO WARRANTY</b></h3>\n\t\t<p><font face=\"Arial\" size=\"3\">BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">END OF TERMS AND CONDITIONS</font></p>\n\t\t<hr>\n\t\t\n\t\t<font face=\"Arial\" size=\"3\"><b>Appendix: How to Apply These Terms to Your New Programs</b></h3>\n\t\t<p><font face=\"Arial\" size=\"3\">If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the &quot;copyright&quot; line and a pointer to where the full notice is found.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">(one line to give the program's name and a brief idea of what it does.) Copyright (C) 19yy (name of author)</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">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.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">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.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">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., 675 Mass Ave, Cambridge, MA 02139, USA.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">Also add information on how to contact you by electronic and paper mail.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">If the program is interactive, make it output a short notice like this when it starts in an interactive mode:</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">You should also get your employer (if you work as a programmer) or your school, if any, to sign a &quot;copyright disclaimer&quot; for the program, if necessary. Here is a sample; alter the names:</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">(signature of Ty Coon), 1 April 1989<br>\n\t\tTy Coon, President of Vice</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License.</font></p>\n\t\t<p><font face=\"Arial\" size=\"3\">\n\t\t<hr>\n<center>\n<font face=\"Arial\" size=\"5\">");
        jEditorPane2.setText("<center>\n<font face=\"Arial\" size=\"5\"><b>iReport Credits</b></font><br><br>\n<font face=\"Arial\" size=\"3\"><b>Thanks to all persons that work to make this software available.</b></font><br><br>\n<font face=\"Arial\" size=\"3\"><b>Project lead</b></font><br>\n<font face=\"Arial\" size=\"3\">Giulio Toffoli (giulio at jaspersoft.com)</font><br><br> \n<font face=\"Arial\" size=\"3\"><b>Contributors</b></font><br>\n<font face=\"Arial\" size=\"3\">Alexander (akhorahil at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Andre Legendre (andleg2000 at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Wade Chandler (brainjava at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Craig B Spengler (craigbs at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">David Walters (david1203 at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">ErtanO (ertano at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">G Raghavan (geeraghav at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Octavio Luna (itaqua at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Kees Kuip (keeskuip at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Peter Henderson (phenderson at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Vinod Kumar Singh (vinodsingh at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Heiko Wenzel (webhsw at users.sourceforge.net) </font><br>\n<font face=\"Arial\" size=\"3\">Egon R Pereira (egonrp at users.sourceforge.net)<br>\n<font face=\"Arial\" size=\"3\">Robert F Lamping (rlamping at users.sourceforge.net) </font><br><br><b>Icons created by</b></font><br>\n<font face=\"Arial\" size=\"3\">Mark James (mjames at gmail.com)<br>http://www.famfamfam.com/lab/icons/silk/</font><br>");
        
        jEditorPane1.setCaretPosition(0);
        jEditorPane2.setCaretPosition(0);
        
        Properties system_props = System.getProperties();
        Enumeration system_props_enum = system_props.keys();
            
        while (system_props_enum.hasMoreElements())
        {
           
                String key=(String)system_props_enum.nextElement();
                if (key.trim().length() == 0) continue;
                ((javax.swing.table.DefaultTableModel)jTableProperties.getModel()).addRow(new Object[]{key, system_props.getProperty(key,"")});
        }
        jTableProperties.updateUI();
           
        
        javax.swing.KeyStroke escape =  javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0, false);
        javax.swing.Action escapeAction = new javax.swing.AbstractAction() {
            public void actionPerformed(java.awt.event.ActionEvent e) {
                setVisible(false);
            }
        };
       
        getRootPane().getInputMap(javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW).put(escape, "ESCAPE");
        getRootPane().getActionMap().put("ESCAPE", escapeAction);


        //to make the default button ...
        this.getRootPane().setDefaultButton(this.jButton2);
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jPanel4 = new javax.swing.JPanel();
        jPanel1 = new javax.swing.JPanel();
        jButton2 = new javax.swing.JButton();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel2 = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jEditorPaneAbout = new javax.swing.JEditorPane();
        jPanel3 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jEditorPane1 = new javax.swing.JEditorPane();
        jScrollPane2 = new javax.swing.JScrollPane();
        jEditorPane2 = new javax.swing.JEditorPane();
        jScrollPane3 = new javax.swing.JScrollPane();
        jTableProperties = new javax.swing.JTable();

        addWindowListener(new java.awt.event.WindowAdapter() {
            public void windowClosing(java.awt.event.WindowEvent evt) {
                closeDialog(evt);
            }
        });

        jPanel4.setLayout(new java.awt.BorderLayout());

        jPanel1.setMinimumSize(new java.awt.Dimension(10, 40));
        jPanel1.setPreferredSize(new java.awt.Dimension(10, 40));
        jButton2.setText("Close about");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jPanel1.add(jButton2);

        jPanel4.add(jPanel1, java.awt.BorderLayout.SOUTH);

        jPanel2.setLayout(new java.awt.GridBagLayout());

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/it/businesslogic/ireport/icons/logo127.png")));
        jButton1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jButton1.setMargin(new java.awt.Insets(2, 0, 2, 0));
        jButton1.setOpaque(false);
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
        jPanel2.add(jButton1, gridBagConstraints);

        jEditorPaneAbout.setBackground(new java.awt.Color(204, 204, 204));
        jEditorPaneAbout.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jEditorPaneAbout.setEditable(false);
        jEditorPaneAbout.setMinimumSize(new java.awt.Dimension(104, 90));
        jEditorPaneAbout.setOpaque(false);
        jEditorPaneAbout.setPreferredSize(new java.awt.Dimension(104, 90));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.weighty = 1.0;
        gridBagConstraints.insets = new java.awt.Insets(0, 4, 4, 4);
        jPanel2.add(jEditorPaneAbout, gridBagConstraints);

        jTabbedPane1.addTab("About", jPanel2);

        jPanel3.setLayout(new java.awt.BorderLayout());

        jScrollPane1.setPreferredSize(new java.awt.Dimension(13, 1200));
        jEditorPane1.setEditable(false);
        jEditorPane1.setContentType("text/html");
        jScrollPane1.setViewportView(jEditorPane1);

        jPanel3.add(jScrollPane1, java.awt.BorderLayout.CENTER);

        jTabbedPane1.addTab("License", jPanel3);

        jEditorPane2.setEditable(false);
        jEditorPane2.setContentType("text/html");
        jScrollPane2.setViewportView(jEditorPane2);

        jTabbedPane1.addTab("Credits", jScrollPane2);

        jTableProperties.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Property", "Value"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jTableProperties.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_NEXT_COLUMN);
        jScrollPane3.setViewportView(jTableProperties);

        jTabbedPane1.addTab("System properties", jScrollPane3);

        jPanel4.add(jTabbedPane1, java.awt.BorderLayout.CENTER);

        getContentPane().add(jPanel4, java.awt.BorderLayout.CENTER);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        setVisible(false);
        dispose();
    }//GEN-LAST:event_jButton2ActionPerformed
    
    /** Closes the dialog */
    private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog
        setVisible(false);
        dispose();
    }//GEN-LAST:event_closeDialog
    
    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        new IReportAbout(new javax.swing.JFrame(), true).setVisible(true);
    }
    
    
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JEditorPane jEditorPane1;
    private javax.swing.JEditorPane jEditorPane2;
    private javax.swing.JEditorPane jEditorPaneAbout;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTable jTableProperties;
    // End of variables declaration//GEN-END:variables
    
}
