KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > it > businesslogic > ireport > gui > IReportAbout


1 /*
2  * Copyright (C) 2005 - 2006 JasperSoft Corporation. All rights reserved.
3  * http://www.jaspersoft.com.
4  *
5  * Unless you have purchased a commercial license agreement from JasperSoft,
6  * the following license terms apply:
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as published by
10  * the Free Software Foundation.
11  *
12  * This program is distributed WITHOUT ANY WARRANTY; and without the
13  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14  * See the GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
18  * or write to:
19  *
20  * Free Software Foundation, Inc.,
21  * 59 Temple Place - Suite 330,
22  * Boston, MA USA 02111-1307
23  *
24  *
25  *
26  *
27  * IReportAbout.java
28  *
29  * Created on 6 maggio 2004, 0.20
30  *
31  */

32
33 package it.businesslogic.ireport.gui;
34 import java.util.*;
35 import it.businesslogic.ireport.util.I18n;
36 /**
37  *
38  * @author Administrator
39  */

40 public class IReportAbout extends javax.swing.JDialog JavaDoc {
41     
42     /** Creates new form IReportAbout */
43     public IReportAbout(java.awt.Frame JavaDoc parent, boolean modal) {
44         super(parent, modal);
45         initComponents();
46         if (new java.util.Date JavaDoc().getTime() %2 == 0)
47         {
48             jButton1.setIcon(new javax.swing.ImageIcon JavaDoc(getClass().getResource("/it/businesslogic/ireport/icons/logo13b.png")));
49         }
50         
51         applyI18n();
52         this.setSize(354, 460);
53         // Open in center...
54
it.businesslogic.ireport.util.Misc.centerFrame(this);
55         
56         this.jEditorPaneAbout.setContentType("text/html");
57         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>");
58         this.jEditorPane1.setContentType("text/html");
59         //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");
60
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\">");
61         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>");
62         
63         jEditorPane1.setCaretPosition(0);
64         jEditorPane2.setCaretPosition(0);
65         
66         Properties system_props = System.getProperties();
67         Enumeration system_props_enum = system_props.keys();
68             
69         while (system_props_enum.hasMoreElements())
70         {
71            
72                 String JavaDoc key=(String JavaDoc)system_props_enum.nextElement();
73                 if (key.trim().length() == 0) continue;
74                 ((javax.swing.table.DefaultTableModel JavaDoc)jTableProperties.getModel()).addRow(new Object JavaDoc[]{key, system_props.getProperty(key,"")});
75         }
76         jTableProperties.updateUI();
77            
78         
79         javax.swing.KeyStroke JavaDoc escape = javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0, false);
80         javax.swing.Action JavaDoc escapeAction = new javax.swing.AbstractAction JavaDoc() {
81             public void actionPerformed(java.awt.event.ActionEvent JavaDoc e) {
82                 setVisible(false);
83             }
84         };
85        
86         getRootPane().getInputMap(javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW).put(escape, "ESCAPE");
87         getRootPane().getActionMap().put("ESCAPE", escapeAction);
88
89
90         //to make the default button ...
91
this.getRootPane().setDefaultButton(this.jButton2);
92     }
93     
94     /** This method is called from within the constructor to
95      * initialize the form.
96      * WARNING: Do NOT modify this code. The content of this method is
97      * always regenerated by the Form Editor.
98      */

99     // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
100
private void initComponents() {
101         java.awt.GridBagConstraints JavaDoc gridBagConstraints;
102
103         jPanel4 = new javax.swing.JPanel JavaDoc();
104         jPanel1 = new javax.swing.JPanel JavaDoc();
105         jButton2 = new javax.swing.JButton JavaDoc();
106         jTabbedPane1 = new javax.swing.JTabbedPane JavaDoc();
107         jPanel2 = new javax.swing.JPanel JavaDoc();
108         jButton1 = new javax.swing.JButton JavaDoc();
109         jEditorPaneAbout = new javax.swing.JEditorPane JavaDoc();
110         jPanel3 = new javax.swing.JPanel JavaDoc();
111         jScrollPane1 = new javax.swing.JScrollPane JavaDoc();
112         jEditorPane1 = new javax.swing.JEditorPane JavaDoc();
113         jScrollPane2 = new javax.swing.JScrollPane JavaDoc();
114         jEditorPane2 = new javax.swing.JEditorPane JavaDoc();
115         jScrollPane3 = new javax.swing.JScrollPane JavaDoc();
116         jTableProperties = new javax.swing.JTable JavaDoc();
117
118         addWindowListener(new java.awt.event.WindowAdapter JavaDoc() {
119             public void windowClosing(java.awt.event.WindowEvent JavaDoc evt) {
120                 closeDialog(evt);
121             }
122         });
123
124         jPanel4.setLayout(new java.awt.BorderLayout JavaDoc());
125
126         jPanel1.setMinimumSize(new java.awt.Dimension JavaDoc(10, 40));
127         jPanel1.setPreferredSize(new java.awt.Dimension JavaDoc(10, 40));
128         jButton2.setText("Close about");
129         jButton2.addActionListener(new java.awt.event.ActionListener JavaDoc() {
130             public void actionPerformed(java.awt.event.ActionEvent JavaDoc evt) {
131                 jButton2ActionPerformed(evt);
132             }
133         });
134
135         jPanel1.add(jButton2);
136
137         jPanel4.add(jPanel1, java.awt.BorderLayout.SOUTH);
138
139         jPanel2.setLayout(new java.awt.GridBagLayout JavaDoc());
140
141         jButton1.setIcon(new javax.swing.ImageIcon JavaDoc(getClass().getResource("/it/businesslogic/ireport/icons/logo13a.png")));
142         jButton1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color JavaDoc(0, 0, 0)));
143         jButton1.setMargin(new java.awt.Insets JavaDoc(2, 0, 2, 0));
144         jButton1.setOpaque(false);
145         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
146         gridBagConstraints.gridx = 0;
147         gridBagConstraints.gridy = 0;
148         gridBagConstraints.insets = new java.awt.Insets JavaDoc(4, 4, 4, 4);
149         jPanel2.add(jButton1, gridBagConstraints);
150
151         jEditorPaneAbout.setBackground(new java.awt.Color JavaDoc(204, 204, 204));
152         jEditorPaneAbout.setBorder(javax.swing.BorderFactory.createEtchedBorder());
153         jEditorPaneAbout.setEditable(false);
154         jEditorPaneAbout.setMinimumSize(new java.awt.Dimension JavaDoc(104, 90));
155         jEditorPaneAbout.setOpaque(false);
156         jEditorPaneAbout.setPreferredSize(new java.awt.Dimension JavaDoc(104, 90));
157         gridBagConstraints = new java.awt.GridBagConstraints JavaDoc();
158         gridBagConstraints.gridx = 0;
159         gridBagConstraints.gridy = 1;
160         gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
161         gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
162         gridBagConstraints.weighty = 1.0;
163         gridBagConstraints.insets = new java.awt.Insets JavaDoc(0, 4, 4, 4);
164         jPanel2.add(jEditorPaneAbout, gridBagConstraints);
165
166         jTabbedPane1.addTab("About", jPanel2);
167
168         jPanel3.setLayout(new java.awt.BorderLayout JavaDoc());
169
170         jScrollPane1.setPreferredSize(new java.awt.Dimension JavaDoc(13, 1200));
171         jEditorPane1.setEditable(false);
172         jEditorPane1.setContentType("text/html");
173         jScrollPane1.setViewportView(jEditorPane1);
174
175         jPanel3.add(jScrollPane1, java.awt.BorderLayout.CENTER);
176
177         jTabbedPane1.addTab("License", jPanel3);
178
179         jEditorPane2.setEditable(false);
180         jEditorPane2.setContentType("text/html");
181         jScrollPane2.setViewportView(jEditorPane2);
182
183         jTabbedPane1.addTab("Credits", jScrollPane2);
184
185         jTableProperties.setModel(new javax.swing.table.DefaultTableModel JavaDoc(
186             new Object JavaDoc [][] {
187
188             },
189             new String JavaDoc [] {
190                 "Property", "Value"
191             }
192         ) {
193             boolean[] canEdit = new boolean [] {
194                 false, false
195             };
196
197             public boolean isCellEditable(int rowIndex, int columnIndex) {
198                 return canEdit [columnIndex];
199             }
200         });
201         jTableProperties.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_NEXT_COLUMN);
202         jScrollPane3.setViewportView(jTableProperties);
203
204         jTabbedPane1.addTab("System properties", jScrollPane3);
205
206         jPanel4.add(jTabbedPane1, java.awt.BorderLayout.CENTER);
207
208         getContentPane().add(jPanel4, java.awt.BorderLayout.CENTER);
209
210         pack();
211     }// </editor-fold>//GEN-END:initComponents
212

213     private void jButton2ActionPerformed(java.awt.event.ActionEvent JavaDoc evt) {//GEN-FIRST:event_jButton2ActionPerformed
214
setVisible(false);
215         dispose();
216     }//GEN-LAST:event_jButton2ActionPerformed
217

218     /** Closes the dialog */
219     private void closeDialog(java.awt.event.WindowEvent JavaDoc evt) {//GEN-FIRST:event_closeDialog
220
setVisible(false);
221         dispose();
222     }//GEN-LAST:event_closeDialog
223

224     /**
225      * @param args the command line arguments
226      */

227     public static void main(String JavaDoc args[]) {
228         new IReportAbout(new javax.swing.JFrame JavaDoc(), true).setVisible(true);
229     }
230     
231     
232     // Variables declaration - do not modify//GEN-BEGIN:variables
233
private javax.swing.JButton JavaDoc jButton1;
234     private javax.swing.JButton JavaDoc jButton2;
235     private javax.swing.JEditorPane JavaDoc jEditorPane1;
236     private javax.swing.JEditorPane JavaDoc jEditorPane2;
237     private javax.swing.JEditorPane JavaDoc jEditorPaneAbout;
238     private javax.swing.JPanel JavaDoc jPanel1;
239     private javax.swing.JPanel JavaDoc jPanel2;
240     private javax.swing.JPanel JavaDoc jPanel3;
241     private javax.swing.JPanel JavaDoc jPanel4;
242     private javax.swing.JScrollPane JavaDoc jScrollPane1;
243     private javax.swing.JScrollPane JavaDoc jScrollPane2;
244     private javax.swing.JScrollPane JavaDoc jScrollPane3;
245     private javax.swing.JTabbedPane JavaDoc jTabbedPane1;
246     private javax.swing.JTable JavaDoc jTableProperties;
247     // End of variables declaration//GEN-END:variables
248

249     public void applyI18n(){
250                 // Start autogenerated code ----------------------
251
jButton2.setText(I18n.getString("iReportAbout.button2","Close about"));
252                 // End autogenerated code ----------------------
253

254                 jTableProperties.getColumnModel().getColumn(0).setHeaderValue( I18n.getString("iReportAbout.tablecolumn.property","Property") );
255                 jTableProperties.getColumnModel().getColumn(1).setHeaderValue( I18n.getString("iReportAbout.tablecolumn.value","Value") );
256           
257                 jTabbedPane1.setTitleAt(0, it.businesslogic.ireport.util.I18n.getString("iReportAbout.tab.About","About"));
258                 jTabbedPane1.setTitleAt(1, it.businesslogic.ireport.util.I18n.getString("iReportAbout.tab.License","License"));
259                 jTabbedPane1.setTitleAt(2, it.businesslogic.ireport.util.I18n.getString("iReportAbout.tab.Credits","Credits"));
260                 jTabbedPane1.setTitleAt(3, it.businesslogic.ireport.util.I18n.getString("iReportAbout.tab.SystemProperties","System properties"));
261     }
262 }
263
Popular Tags