Source Code Cross Referenced for IReportAbout.java in  » Report » iReport-2.0.5 » it » businesslogic » ireport » gui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » iReport 2.0.5 » it.businesslogic.ireport.gui 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (C) 2005 - 2008 JasperSoft Corporation.  All rights reserved. 
003:         * http://www.jaspersoft.com.
004:         *
005:         * Unless you have purchased a commercial license agreement from JasperSoft,
006:         * the following license terms apply:
007:         *
008:         * This program is free software; you can redistribute it and/or modify
009:         * it under the terms of the GNU General Public License version 2 as published by
010:         * the Free Software Foundation.
011:         *
012:         * This program is distributed WITHOUT ANY WARRANTY; and without the
013:         * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
014:         * See the GNU General Public License for more details.
015:         *
016:         * You should have received a copy of the GNU General Public License
017:         * along with this program; if not, see http://www.gnu.org/licenses/gpl.txt
018:         * or write to:
019:         *
020:         * Free Software Foundation, Inc.,
021:         * 59 Temple Place - Suite 330,
022:         * Boston, MA  USA  02111-1307
023:         *
024:         *
025:         *
026:         *
027:         * IReportAbout.java
028:         * 
029:         * Created on 6 maggio 2004, 0.20
030:         *
031:         */
032:
033:        package it.businesslogic.ireport.gui;
034:
035:        import java.util.*;
036:        import it.businesslogic.ireport.util.I18n;
037:        import it.businesslogic.ireport.util.Misc;
038:
039:        /**
040:         *
041:         * @author  Administrator
042:         */
043:        public class IReportAbout extends javax.swing.JDialog {
044:
045:            /** Creates new form IReportAbout */
046:            public IReportAbout(java.awt.Frame parent, boolean modal) {
047:                super (parent, modal);
048:                initComponents();
049:                //if (new java.util.Date().getTime() %2 == 0)
050:                //{
051:                //    jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/it/businesslogic/ireport/icons/logo13b.png")));
052:                //}
053:
054:                try {
055:                    jButton1
056:                            .setIcon(new javax.swing.ImageIcon(
057:                                    getClass()
058:                                            .getResource(
059:                                                    MainFrame
060:                                                            .getBrandingProperties()
061:                                                            .getProperty(
062:                                                                    "ireport.splashscreen"))));
063:                } catch (Exception ex) {
064:                }
065:
066:                this .setSize(380, 490);
067:                // Open in center...
068:                it.businesslogic.ireport.util.Misc.centerFrame(this );
069:
070:                this .jEditorPaneAbout.setContentType("text/html");
071:                this .jEditorPaneAbout
072:                        .setText("<HTML><body><font face=\"SansSerif\" size=\"3\"><center><b> "
073:                                + MainFrame.getRebrandedTitle()
074:                                + "</b>&nbsp;&nbsp;(c) 2002-2008 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 to Christopher Andre for the amazing picture used in the splash screen! </font></body></html>");
075:                this .jEditorPane1.setContentType("text/html");
076:                //this.jEditorPane1.setText ("");
077:
078:                jEditorPane1.setText(Misc.getResourceContent(MainFrame
079:                        .getBrandingProperties().getProperty(
080:                                "ireport.license.html")));
081:
082:                String credits = Misc.getResourceContent(MainFrame
083:                        .getBrandingProperties().getProperty(
084:                                "ireport.credits.html"));
085:
086:                java.text.MessageFormat mf = new java.text.MessageFormat(
087:                        credits, I18n.getCurrentLocale());
088:                credits = mf.format(new Object[] {
089:                        I18n.getString("iReportAbout.editorPane2.credits",
090:                                "iReport Credits"),
091:                        I18n.getString("iReportAbout.editorPane2.icons",
092:                                "Icons created by") });
093:                jEditorPane2.setText(credits);
094:
095:                applyI18n();
096:
097:                jEditorPane1.setCaretPosition(0);
098:                jEditorPane2.setCaretPosition(0);
099:
100:                Properties system_props = System.getProperties();
101:                Enumeration system_props_enum = system_props.keys();
102:
103:                while (system_props_enum.hasMoreElements()) {
104:
105:                    String key = (String) system_props_enum.nextElement();
106:                    if (key.trim().length() == 0)
107:                        continue;
108:                    ((javax.swing.table.DefaultTableModel) jTableProperties
109:                            .getModel()).addRow(new Object[] { key,
110:                            system_props.getProperty(key, "") });
111:                }
112:                jTableProperties.updateUI();
113:
114:                javax.swing.KeyStroke escape = javax.swing.KeyStroke
115:                        .getKeyStroke(java.awt.event.KeyEvent.VK_ESCAPE, 0,
116:                                false);
117:                javax.swing.Action escapeAction = new javax.swing.AbstractAction() {
118:                    public void actionPerformed(java.awt.event.ActionEvent e) {
119:                        setVisible(false);
120:                    }
121:                };
122:
123:                getRootPane().getInputMap(
124:                        javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW).put(
125:                        escape, "ESCAPE");
126:                getRootPane().getActionMap().put("ESCAPE", escapeAction);
127:                //to make the default button ...
128:                this .getRootPane().setDefaultButton(this .jButton2);
129:            }
130:
131:            /** This method is called from within the constructor to
132:             * initialize the form.
133:             * WARNING: Do NOT modify this code. The content of this method is
134:             * always regenerated by the Form Editor.
135:             */
136:            // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
137:            private void initComponents() {
138:                java.awt.GridBagConstraints gridBagConstraints;
139:
140:                jPanel4 = new javax.swing.JPanel();
141:                jPanel1 = new javax.swing.JPanel();
142:                jButton2 = new javax.swing.JButton();
143:                jTabbedPane1 = new javax.swing.JTabbedPane();
144:                jPanel2 = new javax.swing.JPanel();
145:                jButton1 = new javax.swing.JButton();
146:                jEditorPaneAbout = new javax.swing.JEditorPane();
147:                jPanel3 = new javax.swing.JPanel();
148:                jScrollPane1 = new javax.swing.JScrollPane();
149:                jEditorPane1 = new javax.swing.JEditorPane();
150:                jScrollPane2 = new javax.swing.JScrollPane();
151:                jEditorPane2 = new javax.swing.JEditorPane();
152:                jScrollPane3 = new javax.swing.JScrollPane();
153:                jTableProperties = new javax.swing.JTable();
154:
155:                addWindowListener(new java.awt.event.WindowAdapter() {
156:                    public void windowClosing(java.awt.event.WindowEvent evt) {
157:                        closeDialog(evt);
158:                    }
159:                });
160:
161:                jPanel4.setLayout(new java.awt.BorderLayout());
162:
163:                jPanel1.setMinimumSize(new java.awt.Dimension(10, 40));
164:                jPanel1.setPreferredSize(new java.awt.Dimension(10, 40));
165:                jButton2.setText("Close about");
166:                jButton2.addActionListener(new java.awt.event.ActionListener() {
167:                    public void actionPerformed(java.awt.event.ActionEvent evt) {
168:                        jButton2ActionPerformed(evt);
169:                    }
170:                });
171:
172:                jPanel1.add(jButton2);
173:
174:                jPanel4.add(jPanel1, java.awt.BorderLayout.SOUTH);
175:
176:                jPanel2.setLayout(new java.awt.GridBagLayout());
177:
178:                jButton1
179:                        .setIcon(new javax.swing.ImageIcon(
180:                                getClass()
181:                                        .getResource(
182:                                                "/it/businesslogic/ireport/icons/logo132.png")));
183:                jButton1.setBorder(javax.swing.BorderFactory
184:                        .createLineBorder(new java.awt.Color(0, 0, 0)));
185:                jButton1.setMargin(new java.awt.Insets(2, 0, 2, 0));
186:                jButton1.setOpaque(false);
187:                gridBagConstraints = new java.awt.GridBagConstraints();
188:                gridBagConstraints.gridx = 0;
189:                gridBagConstraints.gridy = 0;
190:                gridBagConstraints.insets = new java.awt.Insets(4, 4, 4, 4);
191:                jPanel2.add(jButton1, gridBagConstraints);
192:
193:                jEditorPaneAbout
194:                        .setBackground(new java.awt.Color(204, 204, 204));
195:                jEditorPaneAbout.setBorder(javax.swing.BorderFactory
196:                        .createEtchedBorder());
197:                jEditorPaneAbout.setEditable(false);
198:                jEditorPaneAbout
199:                        .setMinimumSize(new java.awt.Dimension(104, 90));
200:                jEditorPaneAbout.setOpaque(false);
201:                jEditorPaneAbout.setPreferredSize(new java.awt.Dimension(104,
202:                        90));
203:                gridBagConstraints = new java.awt.GridBagConstraints();
204:                gridBagConstraints.gridx = 0;
205:                gridBagConstraints.gridy = 1;
206:                gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
207:                gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
208:                gridBagConstraints.weighty = 1.0;
209:                gridBagConstraints.insets = new java.awt.Insets(0, 4, 4, 4);
210:                jPanel2.add(jEditorPaneAbout, gridBagConstraints);
211:
212:                jTabbedPane1.addTab("About", jPanel2);
213:
214:                jPanel3.setLayout(new java.awt.BorderLayout());
215:
216:                jScrollPane1.setPreferredSize(new java.awt.Dimension(13, 1200));
217:                jEditorPane1.setEditable(false);
218:                jEditorPane1.setContentType("text/html");
219:                jScrollPane1.setViewportView(jEditorPane1);
220:
221:                jPanel3.add(jScrollPane1, java.awt.BorderLayout.CENTER);
222:
223:                jTabbedPane1.addTab("License", jPanel3);
224:
225:                jEditorPane2.setEditable(false);
226:                jEditorPane2.setContentType("text/html");
227:                jScrollPane2.setViewportView(jEditorPane2);
228:
229:                jTabbedPane1.addTab("Credits", jScrollPane2);
230:
231:                jTableProperties
232:                        .setModel(new javax.swing.table.DefaultTableModel(
233:                                new Object[][] {
234:
235:                                }, new String[] { "Property", "Value" }) {
236:                            boolean[] canEdit = new boolean[] { false, false };
237:
238:                            public boolean isCellEditable(int rowIndex,
239:                                    int columnIndex) {
240:                                return canEdit[columnIndex];
241:                            }
242:                        });
243:                jTableProperties
244:                        .setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_NEXT_COLUMN);
245:                jScrollPane3.setViewportView(jTableProperties);
246:
247:                jTabbedPane1.addTab("System properties", jScrollPane3);
248:
249:                jPanel4.add(jTabbedPane1, java.awt.BorderLayout.CENTER);
250:
251:                getContentPane().add(jPanel4, java.awt.BorderLayout.CENTER);
252:
253:                pack();
254:            }// </editor-fold>//GEN-END:initComponents
255:
256:            private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
257:                setVisible(false);
258:                dispose();
259:            }//GEN-LAST:event_jButton2ActionPerformed
260:
261:            /** Closes the dialog */
262:            private void closeDialog(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_closeDialog
263:                setVisible(false);
264:                dispose();
265:            }//GEN-LAST:event_closeDialog
266:
267:            /**
268:             * @param args the command line arguments
269:             */
270:            public static void main(String args[]) {
271:                new IReportAbout(new javax.swing.JFrame(), true)
272:                        .setVisible(true);
273:            }
274:
275:            // Variables declaration - do not modify//GEN-BEGIN:variables
276:            private javax.swing.JButton jButton1;
277:            private javax.swing.JButton jButton2;
278:            private javax.swing.JEditorPane jEditorPane1;
279:            private javax.swing.JEditorPane jEditorPane2;
280:            private javax.swing.JEditorPane jEditorPaneAbout;
281:            private javax.swing.JPanel jPanel1;
282:            private javax.swing.JPanel jPanel2;
283:            private javax.swing.JPanel jPanel3;
284:            private javax.swing.JPanel jPanel4;
285:            private javax.swing.JScrollPane jScrollPane1;
286:            private javax.swing.JScrollPane jScrollPane2;
287:            private javax.swing.JScrollPane jScrollPane3;
288:            private javax.swing.JTabbedPane jTabbedPane1;
289:            private javax.swing.JTable jTableProperties;
290:
291:            // End of variables declaration//GEN-END:variables
292:
293:            public void applyI18n() {
294:
295:                String specialThanks = "";
296:                //if (MainFrame.constTitle.equals("iReport 1.3.2 "))
297:                //{
298:                //    specialThanks = "Thanks to 4 year old Kira for contributing artwork to the iReport project.";
299:                //}
300:                // Start autogenerated code ----------------------
301:                jButton2.setText(I18n.getString("iReportAbout.button2",
302:                        "Close about"));
303:                // End autogenerated code ----------------------
304:
305:                jTableProperties.getColumnModel().getColumn(0).setHeaderValue(
306:                        I18n.getString("iReportAbout.tablecolumn.property",
307:                                "Property"));
308:                jTableProperties.getColumnModel().getColumn(1).setHeaderValue(
309:                        I18n.getString("iReportAbout.tablecolumn.value",
310:                                "Value"));
311:
312:                jTabbedPane1.setTitleAt(0, it.businesslogic.ireport.util.I18n
313:                        .getString("iReportAbout.tab.About", "About"));
314:                jTabbedPane1.setTitleAt(1, it.businesslogic.ireport.util.I18n
315:                        .getString("iReportAbout.tab.License", "License"));
316:                jTabbedPane1.setTitleAt(2, it.businesslogic.ireport.util.I18n
317:                        .getString("iReportAbout.tab.Credits", "Credits"));
318:                jTabbedPane1.setTitleAt(3, it.businesslogic.ireport.util.I18n
319:                        .getString("iReportAbout.tab.SystemProperties",
320:                                "System properties"));
321:
322:                String aboutString = Misc.getResourceContent(MainFrame
323:                        .getBrandingProperties().getProperty(
324:                                "ireport.about.html"));
325:
326:                java.text.MessageFormat mf = new java.text.MessageFormat(
327:                        aboutString, I18n.getCurrentLocale());
328:                aboutString = mf
329:                        .format(new Object[] {
330:                                MainFrame.getRebrandedTitle(),
331:                                I18n
332:                                        .getString(
333:                                                "iReportAbout.editorPaneAbout1",
334:                                                "License GPL<br>Special thanks to Giulio Toffoli, Teodor Danciu and to all people who support this software. Thanks.") });
335:
336:                //jEditorPane1.setText(I18n.getString("iReportAbout.editorPane1","\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\">"));
337:                jEditorPaneAbout.setText(aboutString);
338:
339:            }
340:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.