You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(65) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ben...@id...> - 2004-05-22 12:06:30
|
Dear Open Source developer I am doing a research project on "Fun and Software Development" in which I kindly invite you to participate. You will find the online survey under http://fasd.ethz.ch/qsf/. The questionnaire consists of 53 questions and you will need about 15 minutes to complete it. With the FASD project (Fun and Software Development) we want to define the motivational significance of fun when software developers decide to engage in Open Source projects. What is special about our research project is that a similar survey is planned with software developers in commercial firms. This procedure allows the immediate comparison between the involved individuals and the conditions of production of these two development models. Thus we hope to obtain substantial new insights to the phenomenon of Open Source Development. With many thanks for your participation, Benno Luthiger PS: The results of the survey will be published under http://www.isu.unizh.ch/fuehrung/blprojects/FASD/. We have set up the mailing list fa...@we... for this study. Please see http://fasd.ethz.ch/qsf/mailinglist_en.html for registration to this mailing list. _______________________________________________________________________ Benno Luthiger Swiss Federal Institute of Technology Zurich 8092 Zurich Mail: benno.luthiger(at)id.ethz.ch _______________________________________________________________________ |
From: <po...@pa...> - 2003-08-11 05:21:01
|
Colin: My apologies if my language seemed over the top: old Marine habits never die I suppose. Just wanted to clarify where I/we were lacking in understanding so I/we do not make the same mistake twice. Thank you very much for taking the time to reply with detail and explanation: I appreciate it! -poulh > Poul, > > I am somewhat surprised to receive an email from you with the subject > "redress process?" While I am always happy to explain the basis of my > grading, I found the tenor of your email vaguely offensive. I daresay > you didn't intend it that way, but that is how it came across to me. > > Having said that, let me address your questions one by one: > > 1) As far as the final project is concerned, your program created > a new deck for every game played, and the cards continued to show after > they should have been removed. Both these topics were discussed in > class. Surely a score of 9 out of 10 is entirely reasonable (perhaps > even generous) under the circumstances? > > 2) For the Pizza project, you submitted no test samples > whatsoever, so I am unable to tell if your application works or not. I > thought I made it quite clear in class that test samples were to be > included. Certainly, all the other students submitted test samples. > > 3) For the "exceptions" project, you also turned in no test > samples. In addition, you caught the exception in the constructor > itself, rather than in the code that calls the constructor, which is > where it belongs. > > I hope this answers your questions to your satisfaction, but if not, > please send me another email... Colin > > |
From: <b_...@us...> - 2003-07-26 11:45:10
|
Update of /cvsroot/ordweb/uop/pos407/bryanm/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv4627 Modified Files: ThrowEmployee.java Log Message: Added comments. Index: ThrowEmployee.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/bryanm/week4/ThrowEmployee.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ThrowEmployee.java 24 Jul 2003 05:25:32 -0000 1.2 --- ThrowEmployee.java 25 Jul 2003 17:20:49 -0000 1.3 *************** *** 1,19 **** /** * Created By: Bryan Meier ! * Date: 7/23/03 ! * Class: POS407 ! * Instructor: Colin Goble */ public class ThrowEmployee { public static void main(String[] args) throws Exception { ! Employee[] emp = new Employee[3]; ! for (int i = 0; i < 3; i++) { try { emp[i] = new Employee(i + 1, i * 30); } ! catch (EmployeeException error) { System.out.println("Employee error: " + error.getMessage()); } --- 1,25 ---- /** * Created By: Bryan Meier ! * Date: ! * Class: ! * Instructor: */ + /** + * Throw Employee is the driver to this program. + */ public class ThrowEmployee { public static void main(String[] args) throws Exception { ! Employee[] emp = new Employee[3]; //Create array of 3 Employees. ! //Create employees and add them to the Array. ! //Employee ID is the Array number + 1. ! //Employee wage is the Array Number * #30. ! for (int i = 0; i < emp.length; i++) { try { emp[i] = new Employee(i + 1, i * 30); } ! catch (EmployeeException error) { //Catch errors based on Employee's Exceptions. System.out.println("Employee error: " + error.getMessage()); } *************** *** 22,25 **** --- 28,34 ---- } + /** + * Exception Class. + */ class EmployeeException extends Exception { EmployeeException(String s) { *************** *** 28,39 **** --- 37,57 ---- } + /** + * Employee class is used to create Employee objects. + */ class Employee { int idNum; double hourlyWage; + /** + * @param id + * @param wage + * @throws EmployeeException + */ Employee (int id, double wage) throws EmployeeException { idNum = id; hourlyWage = wage; + //If Employee's hourlyWage is less then $6 then throw EmployeeException. if (hourlyWage < 6.00) { String s = "Employee " + idNum + " makes $" + hourlyWage + 0 + " which is under $6.00."; *************** *** 41,44 **** --- 59,63 ---- } + //If Employee's hourlyWage is greater then $50 then throw EmployeeException. if (hourlyWage > 50.00) { String s = "Employee " + idNum + " makes $" + hourlyWage + 0 + " which is more $50.00."; |
Update of /cvsroot/ordweb/uop/pos407/team/week5/cards/cards In directory sc8-pr-cvs1:/tmp/cvs-serv19427/pos407/team/week5/cards/cards Removed Files: 2c.gif 2d.gif 2h.gif 2s.gif 3c.gif 3d.gif 3h.gif 3s.gif 4c.gif 4d.gif 4h.gif 4s.gif 5c.gif 5d.gif 5h.gif 5s.gif 6c.gif 6d.gif 6h.gif 6s.gif 7c.gif 7d.gif 7h.gif 7s.gif 8c.gif 8d.gif 8h.gif 8s.gif 9c.gif 9d.gif 9h.gif 9s.gif COPYING ac.gif ad.gif ah.gif as.gif b.gif j.gif jc.gif jd.gif jh.gif js.gif kc.gif kd.gif kh.gif ks.gif qc.gif qd.gif qh.gif qs.gif tc.gif td.gif th.gif ts.gif Log Message: moved files --- 2c.gif DELETED --- --- 2d.gif DELETED --- --- 2h.gif DELETED --- --- 2s.gif DELETED --- --- 3c.gif DELETED --- --- 3d.gif DELETED --- --- 3h.gif DELETED --- --- 3s.gif DELETED --- --- 4c.gif DELETED --- --- 4d.gif DELETED --- --- 4h.gif DELETED --- --- 4s.gif DELETED --- --- 5c.gif DELETED --- --- 5d.gif DELETED --- --- 5h.gif DELETED --- --- 5s.gif DELETED --- --- 6c.gif DELETED --- --- 6d.gif DELETED --- --- 6h.gif DELETED --- --- 6s.gif DELETED --- --- 7c.gif DELETED --- --- 7d.gif DELETED --- --- 7h.gif DELETED --- --- 7s.gif DELETED --- --- 8c.gif DELETED --- --- 8d.gif DELETED --- --- 8h.gif DELETED --- --- 8s.gif DELETED --- --- 9c.gif DELETED --- --- 9d.gif DELETED --- --- 9h.gif DELETED --- --- 9s.gif DELETED --- --- COPYING DELETED --- --- ac.gif DELETED --- --- ad.gif DELETED --- --- ah.gif DELETED --- --- as.gif DELETED --- --- b.gif DELETED --- --- j.gif DELETED --- --- jc.gif DELETED --- --- jd.gif DELETED --- --- jh.gif DELETED --- --- js.gif DELETED --- --- kc.gif DELETED --- --- kd.gif DELETED --- --- kh.gif DELETED --- --- ks.gif DELETED --- --- qc.gif DELETED --- --- qd.gif DELETED --- --- qh.gif DELETED --- --- qs.gif DELETED --- --- tc.gif DELETED --- --- td.gif DELETED --- --- th.gif DELETED --- --- ts.gif DELETED --- |
Update of /cvsroot/ordweb/uop/pos407/team/week5/cards In directory sc8-pr-cvs1:/tmp/cvs-serv8330/pos407/team/week5/cards Added Files: 2c.gif 2d.gif 2h.gif 2s.gif 3c.gif 3d.gif 3h.gif 3s.gif 4c.gif 4d.gif 4h.gif 4s.gif 5c.gif 5d.gif 5h.gif 5s.gif 6c.gif 6d.gif 6h.gif 6s.gif 7c.gif 7d.gif 7h.gif 7s.gif 8c.gif 8d.gif 8h.gif 8s.gif 9c.gif 9d.gif 9h.gif 9s.gif COPYING ac.gif ad.gif ah.gif as.gif b.gif j.gif jc.gif jd.gif jh.gif js.gif kc.gif kd.gif kh.gif ks.gif qc.gif qd.gif qh.gif qs.gif tc.gif td.gif th.gif ts.gif Log Message: moved files --- NEW FILE: 2c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 2d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 2h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 2s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: COPYING --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble 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. 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. 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. 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. 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. 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. 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. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. 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 "Program", below, refers to any such program or work, and a "work based on the Program" 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 "modification".) Each licensee is addressed as "you". 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. 1. 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. 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. 2. 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: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) 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. c) 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.) 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. 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. 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. 3. 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: a) 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, b) 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, c) 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.) 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. 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. 4. 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. 5. 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. 6. 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. 7. 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. 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. 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. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. 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. 9. 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. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", 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. 10. 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. NO WARRANTY 11. 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 "AS IS" 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. 12. 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. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs 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. 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 "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) 19yy <name of author> 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. 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. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: 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. 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. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice 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. --- NEW FILE: ac.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ad.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ah.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: as.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: b.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: j.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jh.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: js.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kh.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ks.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qh.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qs.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: td.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: th.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ts.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/ordweb/uop/pos407/team/week5/cards/cards/src In directory sc8-pr-cvs1:/tmp/cvs-serv22895/pos407/team/week5/cards/cards/src Removed Files: ace.pnm back.pnm black-2.pnm black-3.pnm black-4.pnm black-5.pnm black-6.pnm black-7.pnm black-8.pnm black-9.pnm black-a.pnm black-j.pnm black-k.pnm black-q.pnm black-t.pnm border.pnm box.pnm face-jc.pnm face-jd.pnm face-jh.pnm face-js.pnm face-kc.pnm face-kd.pnm face-kh.pnm face-ks.pnm face-qc.pnm face-qd.pnm face-qh.pnm face-qs.pnm joker.pnm large-c.pnm large-d.pnm large-h.pnm large-s.pnm make-cards make-run red-2.pnm red-3.pnm red-4.pnm red-5.pnm red-6.pnm red-7.pnm red-8.pnm red-9.pnm red-a.pnm red-j.pnm red-k.pnm red-q.pnm red-t.pnm small-c.pnm small-d.pnm small-h.pnm small-s.pnm Log Message: moved files --- ace.pnm DELETED --- --- back.pnm DELETED --- --- black-2.pnm DELETED --- --- black-3.pnm DELETED --- --- black-4.pnm DELETED --- --- black-5.pnm DELETED --- --- black-6.pnm DELETED --- --- black-7.pnm DELETED --- --- black-8.pnm DELETED --- --- black-9.pnm DELETED --- --- black-a.pnm DELETED --- --- black-j.pnm DELETED --- --- black-k.pnm DELETED --- --- black-q.pnm DELETED --- --- black-t.pnm DELETED --- --- border.pnm DELETED --- --- box.pnm DELETED --- --- face-jc.pnm DELETED --- --- face-jd.pnm DELETED --- --- face-jh.pnm DELETED --- --- face-js.pnm DELETED --- --- face-kc.pnm DELETED --- --- face-kd.pnm DELETED --- --- face-kh.pnm DELETED --- --- face-ks.pnm DELETED --- --- face-qc.pnm DELETED --- --- face-qd.pnm DELETED --- --- face-qh.pnm DELETED --- --- face-qs.pnm DELETED --- --- joker.pnm DELETED --- --- large-c.pnm DELETED --- --- large-d.pnm DELETED --- --- large-h.pnm DELETED --- --- large-s.pnm DELETED --- --- make-cards DELETED --- --- make-run DELETED --- --- red-2.pnm DELETED --- --- red-3.pnm DELETED --- --- red-4.pnm DELETED --- --- red-5.pnm DELETED --- --- red-6.pnm DELETED --- --- red-7.pnm DELETED --- --- red-8.pnm DELETED --- --- red-9.pnm DELETED --- --- red-a.pnm DELETED --- --- red-j.pnm DELETED --- --- red-k.pnm DELETED --- --- red-q.pnm DELETED --- --- red-t.pnm DELETED --- --- small-c.pnm DELETED --- --- small-d.pnm DELETED --- --- small-h.pnm DELETED --- --- small-s.pnm DELETED --- |
From: <b_...@us...> - 2003-07-26 04:37:19
|
Update of /cvsroot/ordweb/uop/pos407/bryanm/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv5192 Modified Files: ThrowEmployee.java Log Message: Added class info to the top of file. Index: ThrowEmployee.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/bryanm/week4/ThrowEmployee.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ThrowEmployee.java 25 Jul 2003 17:20:49 -0000 1.3 --- ThrowEmployee.java 25 Jul 2003 17:23:22 -0000 1.4 *************** *** 1,7 **** /** * Created By: Bryan Meier ! * Date: ! * Class: ! * Instructor: */ --- 1,7 ---- /** * Created By: Bryan Meier ! * Date: 7/23/2003 ! * Class: POS 407 ! * Instructor: Colin Goble */ |
From: <b_...@us...> - 2003-07-26 01:45:20
|
Update of /cvsroot/ordweb/uop/pos407/team/week5 In directory sc8-pr-cvs1:/tmp/cvs-serv13242 Added Files: tw5.java Log Message: init --- NEW FILE: tw5.java --- /** * author: poulh, bmeier * created: Jul 10, 2003: 10:44:12 PM * purpose: Spin implementation * version history: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ordweb/uop/pos407/team/week3/tw3.java * notes: */ import javax.swing.*; //import javax.swing.event.*; import java.awt.*; import java.awt.event.*; public class tw5 extends JFrame implements ActionListener { /** module-level variables */ private JPanel pan = new JPanel(); //All content to be added to pan. private JPanel pnlDealer = new JPanel(); //Dealer's Card Panel private JPanel pnlCmd = new JPanel(); //Command Button Panel private JPanel pnlPlayer = new JPanel(); //Player's Card Panel private JLabel d1; //Dealer card 1 private JLabel d2; //Dealer card 2 private JLabel d3; //Dealer card 3 private JLabel d4; //Dealer card 4 private JLabel d5; //Dealer card 5 private JLabel p1; //Player card 1 private JLabel p2; //Player card 2 private JLabel p3; //Player card 3 private JLabel p4; //Player card 4 private JLabel p5; //Player card 5 public static JButton cmdHit = new JButton(); //Hit button public static JButton cmdStand = new JButton();//Stand button public static JLabel lblPlays = new JLabel();//Displays play attempts public static JLabel lblPayout = new JLabel();//Displays payout infoomration public static int plays = 0; //Number of plays private tw5 () { super("Video BlackJack..."); initFrame(); } public static void main(String[] args) { tw5 jFr = new tw5(); jFr.setSize(500, 500); jFr.setVisible(true); } /** purpose: Initialize the JFrame w/components. */ private void initFrame(){ setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); pan.setLayout(new FlowLayout()); //Set the Panel Layout to FlowLayout. d1 = new JLabel(new ImageIcon("/cards/b.gif")); d2 = new JLabel(new ImageIcon("/cards/b.gif")); pnlDealer.setLayout(new GridLayout(1, 5, 5, 5)); pnlDealer.setPreferredSize(new Dimension(300, 100)); pnlDealer.add(d1); pnlDealer.add(d2); p1 = new JLabel(new ImageIcon("/cards/b.gif")); p2 = new JLabel(new ImageIcon("/cards/b.gif")); pnlPlayer.setLayout(new GridLayout(1, 5, 5, 5)); pnlPlayer.setPreferredSize(new Dimension(300, 100)); pnlPlayer.add(p1); pnlPlayer.add(p2); lblPlays.setText(""); lblPayout.setText(""); pnlCmd.setLayout(new GridLayout(1, 4, 5, 5)); pnlCmd.setPreferredSize(new Dimension(300, 75)); pnlCmd.add(lblPlays); pnlCmd.add(cmdHit); pnlCmd.add(cmdStand); pnlCmd.add(lblPayout); //Add components to the JPanel. pan.add(pnlDealer); pan.add(pnlCmd); pan.add(pnlPlayer); setContentPane(pan); }// END initFrame /** purpose: Click handler */ public void actionPerformed(ActionEvent e) { if (e.getSource() == cmdHit) { } else if (e.getSource() == cmdStand) { } }// END actionPerformed /** purpose: set the slots blank */ private void reset(){ }//END reset }// END tw5 |
From: <whe...@us...> - 2003-07-24 20:13:28
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week5 In directory sc8-pr-cvs1:/tmp/cvs-serv14624 Modified Files: MailOrderWrite2.java MailOrderRead2.java Added Files: .classpath .project EventFile.java Log Message: init - samples for using for week5 assignment. --- NEW FILE: .classpath --- <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path=""/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path=""/> </classpath> --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>pos407w5</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> --- NEW FILE: EventFile.java --- /* * Created on Jul 24, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ /** * @author Wayne Hernandez * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class EventFile { public static void main(String[] args) { MailOrderWrite2 cef = new MailOrderWrite2(); } } Index: MailOrderWrite2.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week5/MailOrderWrite2.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailOrderWrite2.java 24 Jul 2003 18:54:39 -0000 1.1 --- MailOrderWrite2.java 24 Jul 2003 19:49:39 -0000 1.2 *************** *** 0 **** --- 1,74 ---- + import java.io.*; + import java.awt.*; + import java.awt.event.*; + import javax.swing.*; + /* Writer for MailOrder application */ + + public class MailOrderWrite2 extends JFrame implements ActionListener + { + private JLabel companyName = new JLabel("Event Handlers Incorporated"); + Font bigFont = new Font("Helvetica", Font.ITALIC, 24); + private JLabel prompt = new JLabel("Enter this month's events"); + private JTextField host = new JTextField(10); + private JTextField date = new JTextField(4); + private JTextField guests = new JTextField(4); + private JLabel hLabel = new JLabel("Host"); + private JLabel dLabel = new JLabel("Date"); + private JLabel gLabel = new JLabel("Guests"); + private JButton enterDataButton = new JButton("Enter data"); + private Container con = getContentPane(); + DataOutputStream ostream; + public MailOrderWrite2() + { + super("Create Event File"); + try + { + ostream = new DataOutputStream (new FileOutputStream("events.dat")); + } + catch(IOException e) + { + System.err.println("File not opened"); + System.exit(1); + } + setSize(325,200); + con.setLayout(new FlowLayout()); + companyName.setFont(bigFont); + con.add(companyName); + con.add(prompt); + con.add(hLabel); + con.add(host); + con.add(dLabel); + con.add(date); + con.add(gLabel); + con.add(guests); + con.add(enterDataButton); + enterDataButton.addActionListener(this); + setVisible(true); + setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + } + + public void actionPerformed(ActionEvent e1) + { + int numGuests; + try + { + numGuests = Integer.parseInt(guests.getText()); + ostream.writeUTF(host.getText()); + ostream.writeUTF(date.getText()); + ostream.writeInt(numGuests); + host.setText(""); + date.setText(""); + guests.setText(""); + } + catch(NumberFormatException e2) + { + System.err.println("Invalid number of guests"); + } + catch(IOException e3) + { + System.err.println("Error writing file"); + System.exit(1); + } + } + + } \ No newline at end of file Index: MailOrderRead2.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week5/MailOrderRead2.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MailOrderRead2.java 24 Jul 2003 18:54:39 -0000 1.1 --- MailOrderRead2.java 24 Jul 2003 19:49:39 -0000 1.2 *************** *** 0 **** --- 1,85 ---- + import java.io.*; + import java.awt.*; + import java.awt.event.*; + import javax.swing.*; + /* Reader for MailOrder application */ + + public class MailOrderRead2 extends JFrame implements ActionListener + { + private JLabel companyName = new JLabel("Event Handlers Incorporated"); + Font bigFont = new Font("Helvetica", Font.ITALIC, 24); + private JLabel prompt = new JLabel("View this month's events"); + private JTextField host = new JTextField(10); + private JTextField date = new JTextField(4); + private JTextField guests = new JTextField(4); + private JButton viewEventButton = new JButton("View Event"); + private JLabel hLabel = new JLabel("Host"); + private JLabel dLabel = new JLabel("Date"); + private JLabel gLabel = new JLabel("Guests"); + private Container con = getContentPane(); + DataInputStream istream; + public void ReadEventFile() + { + super("MailOrderRead2"); + try + { + istream = new DataInputStream(new FileInputStream("C:\\events.dat")); + } + catch(IOException e) + { + System.err.println("File not opened"); + System.exit(1); + } + setSize(325,200); + con.setLayout(new FlowLayout()); + companyName.setFont(bigFont); + con.add(companyName); + con.add(prompt); + con.add(hLabel); + con.add(dLabel); + con.add(date); + con.add(gLabel); + con.add(guests); + con.add(viewEventButton); + viewEventButton.addActionListener(this); + setVisible(true); + setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + } + public void actionPerformed(ActionEvent e) + { + String theHost, theDate; + int numGuests; + try + { + theHost = istream.readUTF(); + theDate = istream.readUTF(); + numGuests = istream.readInt(); + host.setText(theHost); + date.setText(theDate); + guests.setText(String.valueOf(numGuests)); + } + catch(EOFException e2) + { + closeFile(); + } + catch(IOException e3) + { + System.err.println("Error reading file"); + System.exit(1); + } + } + public void closeFile() + { + try + { + istream.close(); + System.exit(0); + } + catch(IOException e) + { + System.err.println("Error closing file"); + System.exit(1); + } + } + } + |
From: <whe...@us...> - 2003-07-24 20:05:08
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week5 In directory sc8-pr-cvs1:/tmp/cvs-serv18036 Modified Files: MailOrderRead2.java Log Message: Index: MailOrderRead2.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week5/MailOrderRead2.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MailOrderRead2.java 24 Jul 2003 20:00:41 -0000 1.3 --- MailOrderRead2.java 24 Jul 2003 20:05:05 -0000 1.4 *************** *** 37,40 **** --- 37,41 ---- con.add(prompt); con.add(hLabel); + con.add(host); con.add(dLabel); con.add(date); |
From: <whe...@us...> - 2003-07-24 20:00:44
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week5 In directory sc8-pr-cvs1:/tmp/cvs-serv17196 Modified Files: MailOrderRead2.java Added Files: EventFile2.java Log Message: init - samples for using for week5 assignment. --- NEW FILE: EventFile2.java --- import java.io.*; /* * Created on Jul 24, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ /** * @author Wayne Hernandez * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class EventFile2 { public static void main(String[] args) { MailOrderRead2 ref = new MailOrderRead2(); } } Index: MailOrderRead2.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week5/MailOrderRead2.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MailOrderRead2.java 24 Jul 2003 19:49:39 -0000 1.2 --- MailOrderRead2.java 24 Jul 2003 20:00:41 -0000 1.3 *************** *** 19,28 **** private Container con = getContentPane(); DataInputStream istream; ! public void ReadEventFile() { ! super("MailOrderRead2"); try { ! istream = new DataInputStream(new FileInputStream("C:\\events.dat")); } catch(IOException e) --- 19,28 ---- private Container con = getContentPane(); DataInputStream istream; ! public MailOrderRead2() { ! super("Read Event File"); try { ! istream = new DataInputStream(new FileInputStream("events.dat")); } catch(IOException e) |
From: <whe...@us...> - 2003-07-24 18:54:42
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week5 In directory sc8-pr-cvs1:/tmp/cvs-serv4631/pos407/wayneh/week5 Added Files: MailOrderRead2.java MailOrderWrite2.java Log Message: init --- NEW FILE: MailOrderRead2.java --- --- NEW FILE: MailOrderWrite2.java --- |
From: <whe...@us...> - 2003-07-24 18:51:57
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week5 In directory sc8-pr-cvs1:/tmp/cvs-serv3596/pos407/wayneh/week5 Added Files: week5 problems.txt Log Message: init --- NEW FILE: week5 problems.txt --- Chapter 16, exercise 6a and b, due August 4th. File Input and Output chapter. 6. a. Write a program for a mail-order company. The program uses a data-entry screen in which the user types an item number and a quantity. The valid item numbers and prices are as follows: Item number Price ($) 101 4.59 103 29.95 107 36.50 125 49.99 When the user enters an item number, check the number to make sure that it is valid. If it is valid, write a record that includes item number, quantity, price each, and total price. Save the program as MailOrderWrite2.java. b. Write a program that reads the data file created by the MailOrderWrite2 program and displays one record at a time on the screen. Save the program as MailOrderRead2.java. |
From: <whe...@us...> - 2003-07-24 18:51:35
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week5 In directory sc8-pr-cvs1:/tmp/cvs-serv3542/week5 Log Message: Directory /cvsroot/ordweb/uop/pos407/wayneh/week5 added to the repository |
From: <whe...@us...> - 2003-07-24 18:31:27
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv31936 Modified Files: ThrowEmployee.java Employee.java EmployeeException.java Log Message: working application Index: ThrowEmployee.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week4/ThrowEmployee.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ThrowEmployee.java 24 Jul 2003 18:11:47 -0000 1.2 --- ThrowEmployee.java 24 Jul 2003 18:31:19 -0000 1.3 *************** *** 18,29 **** public class ThrowEmployee { ! public static void main(String[] args) { try { ! Employee firstEmp = new Employee(1234,6.00); Employee secondEmp = new Employee(2468,10.00); ! Employee thirdEmp = new Employee(3690,50.00); } ! catch(EmployeeException error) { System.out.println("Employee error: "+ error.getMessage()); --- 18,31 ---- public class ThrowEmployee { ! public static void main(String[] args) throws Exception { ! System.out.println("Creating employees"); ! try { ! Employee firstEmp = new Employee(1234,4.00); Employee secondEmp = new Employee(2468,10.00); ! Employee thirdEmp = new Employee(3690,60.00); } ! catch (EmployeeException error) { System.out.println("Employee error: "+ error.getMessage()); Index: Employee.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week4/Employee.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Employee.java 24 Jul 2003 18:11:47 -0000 1.2 --- Employee.java 24 Jul 2003 18:31:19 -0000 1.3 *************** *** 20,26 **** if (inWage < 6.00) { ! String sTemp = "Error in employee" + inNum; throw (new EmployeeException(sTemp)); } } } --- 20,32 ---- if (inWage < 6.00) { ! String sTemp = "Error in employee " + inNum; throw (new EmployeeException(sTemp)); } + if (inWage > 50.00) + { + String sTemp = "Error in employee " + inNum; + throw (new EmployeeException(sTemp)); + } + System.out.println("Employee " + idNum + " created. Salary: " + hourlyWage); } } Index: EmployeeException.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week4/EmployeeException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EmployeeException.java 24 Jul 2003 18:11:47 -0000 1.1 --- EmployeeException.java 24 Jul 2003 18:31:19 -0000 1.2 *************** *** 1,5 **** ! public class EmployeeException extends Exception { ! public EmployeeException(String s) { super(s); --- 1,5 ---- ! class EmployeeException extends Exception { ! EmployeeException(String s) { super(s); |
From: <whe...@us...> - 2003-07-24 18:11:49
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv26855 Modified Files: ThrowEmployee.java Employee.java Added Files: EmployeeException.java Removed Files: ThrowException.java Log Message: init --- NEW FILE: EmployeeException.java --- public class EmployeeException extends Exception { public EmployeeException(String s) { super(s); } } Index: ThrowEmployee.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week4/ThrowEmployee.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ThrowEmployee.java 24 Jul 2003 17:37:40 -0000 1.1 --- ThrowEmployee.java 24 Jul 2003 18:11:47 -0000 1.2 *************** *** 1,8 **** /* * Created on Jul 24, 2003 ! * ! * To change the template for this generated file go to ! * Window>Preferences>Java>Code Generation>Code and Comments ! */ /** --- 1,12 ---- /* * Created on Jul 24, 2003 ! */ ! /** Create an EmployeeException class whose constructor receives a String ! * that consists of an employee's ID and pay rate. Create an Empoyee class with two ! * field, idNum and hourlyWage. The Employee costructor requires values for both ! * fields. Upon construction, throw and EmployeeException if the hourlyWage is less ! * than $6.00 or over $50.00. Write a program that establishes at least three Employees ! * with hourlyWages that are above, below, and within the allowed range. ! */ /** *************** *** 21,25 **** Employee thirdEmp = new Employee(3690,50.00); } ! catch { System.out.println("Employee error: "+ error.getMessage()); --- 25,29 ---- Employee thirdEmp = new Employee(3690,50.00); } ! catch(EmployeeException error) { System.out.println("Employee error: "+ error.getMessage()); Index: Employee.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week4/Employee.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Employee.java 24 Jul 2003 17:37:40 -0000 1.1 --- Employee.java 24 Jul 2003 18:11:47 -0000 1.2 *************** *** 13,22 **** { int idNum; ! float hourlyWage; ! public Employee(int inNum, float inWage) throws EmployeeException { idNum = inNum; hourlyWage = inWage; ! if (inWage < 6) throw (new EmployeeException(hourlyWage)); } } --- 13,26 ---- { int idNum; ! double hourlyWage; ! public Employee(int inNum, double inWage) throws EmployeeException { idNum = inNum; hourlyWage = inWage; ! ! if (inWage < 6.00) { ! String sTemp = "Error in employee" + inNum; ! throw (new EmployeeException(sTemp)); ! } } } --- ThrowException.java DELETED --- |
From: <whe...@us...> - 2003-07-24 17:37:43
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv20794 Modified Files: ThrowException.java Added Files: ThrowEmployee.java Employee.java .classpath .project Log Message: init - ThrowEmployee program. --- NEW FILE: ThrowEmployee.java --- /* * Created on Jul 24, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ /** * @author Wayne Hernandez * * To change the template for this generated type comment go to * Window>Preferences>Java>Code Generation>Code and Comments */ public class ThrowEmployee { public static void main(String[] args) { try { Employee firstEmp = new Employee(1234,6.00); Employee secondEmp = new Employee(2468,10.00); Employee thirdEmp = new Employee(3690,50.00); } catch { System.out.println("Employee error: "+ error.getMessage()); } } } --- NEW FILE: Employee.java --- /* * Created on Jul 24, 2003 * * To change the template for this generated file go to * Window>Preferences>Java>Code Generation>Code and Comments */ /** * @author Wayne Hernandez * */ public class Employee { int idNum; float hourlyWage; public Employee(int inNum, float inWage) throws EmployeeException { idNum = inNum; hourlyWage = inWage; if (inWage < 6) throw (new EmployeeException(hourlyWage)); } } --- NEW FILE: .classpath --- <?xml version="1.0" encoding="UTF-8"?> <classpath> <classpathentry kind="src" path=""/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="output" path=""/> </classpath> --- NEW FILE: .project --- <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>pos407w4</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> Index: ThrowException.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week4/ThrowException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ThrowException.java 24 Jul 2003 17:23:19 -0000 1.1 --- ThrowException.java 24 Jul 2003 17:37:40 -0000 1.2 *************** *** 14,25 **** } } - class Employee - { - int idNum; - float hourlyWage; - Employee(int inNum, float inWage) - { - idNum = inNum; - hourlyWage = inWage; - } - } --- 14,15 ---- |
From: <whe...@us...> - 2003-07-24 17:23:22
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv18333 Added Files: ThrowException.java Log Message: init --- NEW FILE: ThrowException.java --- /** Create an EmployeeException class whose constructor receives a String * that consists of an employee's ID and pay rate. Create an Empoyee class with two * field, idNum and hourlyWage. The Employee costructor requires values for both * fields. Upon construction, throw and EmployeeException if the hourlyWage is less * than $6.00 or over $50.00. Write a program that establishes at least three Employees * with hourlyWages that are above, below, and within the allowed range. */ public class EmployeeException extends Exception { public EmployeeException(String s) { super(s); } } class Employee { int idNum; float hourlyWage; Employee(int inNum, float inWage) { idNum = inNum; hourlyWage = inWage; } } |
From: <whe...@us...> - 2003-07-24 17:05:37
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv15113 Modified Files: JPizzaria.java Log Message: added several toppings. Index: JPizzaria.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/wayneh/week4/JPizzaria.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JPizzaria.java 24 Jul 2003 16:44:28 -0000 1.1 --- JPizzaria.java 24 Jul 2003 17:05:32 -0000 1.2 *************** *** 2,6 **** import java.awt.*; import java.awt.event.*; ! public class JPizzaria extends JFrame implements ItemListener { --- 2,10 ---- import java.awt.*; import java.awt.event.*; ! /* ! @author Wayne Hernandez ! @description Create an application that allows a customer to choose a pizza size ! and options, the options add $1 each except for cheese. ! */ public class JPizzaria extends JFrame implements ItemListener { *************** *** 10,13 **** --- 14,19 ---- JCheckBox pepperBox = new JCheckBox("Pepperoni"); JCheckBox greenBox = new JCheckBox("Green peppers"); + JCheckBox onionBox = new JCheckBox("Onions"); + JCheckBox mushBox = new JCheckBox("Mushrooms"); JLabel sizeList = new JLabel("Size LIst"); JLabel aEvent = new JLabel("Event Handlers Incorporated"); *************** *** 32,39 **** --- 38,49 ---- pepperBox.addItemListener(this); greenBox.addItemListener(this); + onionBox.addItemListener(this); + mushBox.addItemListener(this); pane.add(sizeBox); pane.add(cheeseBox); pane.add(pepperBox); pane.add(greenBox); + pane.add(onionBox); + pane.add(mushBox); pane.add(aEvent); pane.add(totPrice); *************** *** 59,63 **** // add $1 if option selected ! if ((source == pepperBox) || (source == greenBox)) { int select = e.getStateChange(); --- 69,73 ---- // add $1 if option selected ! if ((source == pepperBox) || (source == greenBox) || (source == onionBox) || (source == mushBox)) { int select = e.getStateChange(); |
From: <whe...@us...> - 2003-07-24 16:44:31
|
Update of /cvsroot/ordweb/uop/pos407/wayneh/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv11533 Added Files: JPizzaria.java Log Message: init --- NEW FILE: JPizzaria.java --- import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JPizzaria extends JFrame implements ItemListener { FlowLayout flow = new FlowLayout(); JComboBox sizeBox = new JComboBox(); JCheckBox cheeseBox = new JCheckBox("Cheese"); JCheckBox pepperBox = new JCheckBox("Pepperoni"); JCheckBox greenBox = new JCheckBox("Green peppers"); JLabel sizeList = new JLabel("Size LIst"); JLabel aEvent = new JLabel("Event Handlers Incorporated"); JTextField totPrice = new JTextField(10); int[] sizePrice = {7, 9, 11, 14}; int totalPrice = 0; String output; int sizeNum; public JPizzaria() { super("JPizzaria"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel pane = new JPanel(); pane.setLayout(flow); pane.add(sizeList); sizeBox.addItemListener(this); sizeBox.addItem("Small"); sizeBox.addItem("Medium"); sizeBox.addItem("Large"); sizeBox.addItem("Extra Large"); pepperBox.addItemListener(this); greenBox.addItemListener(this); pane.add(sizeBox); pane.add(cheeseBox); pane.add(pepperBox); pane.add(greenBox); pane.add(aEvent); pane.add(totPrice); setContentPane(pane); } public static void main(String[] args) { JPizzaria frame = new JPizzaria(); frame.setSize(200,200); frame.setVisible(true); } public void itemStateChanged(ItemEvent e) { Object source = e.getSource(); if (source == sizeBox) { int sizeNum = sizeBox.getSelectedIndex(); totalPrice = sizePrice[sizeNum]; output = "Pizza Price $" + totalPrice; totPrice.setText(output); } // add $1 if option selected if ((source == pepperBox) || (source == greenBox)) { int select = e.getStateChange(); if(select == ItemEvent.SELECTED) { totalPrice = totalPrice + 1; output = "Pizza Price $" + totalPrice; totPrice.setText(output); } else if(select == ItemEvent.DESELECTED) { totalPrice = totalPrice - 1; output = "Pizza Price $" + totalPrice; totPrice.setText(output); } } // // add $1 if option selected // if (source == greenBox) // { // int select = e.getStateChange(); // if(select == ItemEvent.SELECTED) // { // totalPrice = totalPrice + 1; // output = "Pizza Price $" + totalPrice; // totPrice.setText(output); // } // else if(select == ItemEvent.DESELECTED) // { // totalPrice = totalPrice - 1; // output = "Pizza Price $" + totalPrice; // totPrice.setText(output); // } // } } } |
From: <b_...@us...> - 2003-07-24 05:25:35
|
Update of /cvsroot/ordweb/uop/pos407/bryanm/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv7460 Modified Files: ThrowEmployee.java Log Message: Code is complete. Just needs commenting. Index: ThrowEmployee.java =================================================================== RCS file: /cvsroot/ordweb/uop/pos407/bryanm/week4/ThrowEmployee.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ThrowEmployee.java 23 Jul 2003 20:37:02 -0000 1.1 --- ThrowEmployee.java 24 Jul 2003 05:25:32 -0000 1.2 *************** *** 5,11 **** * Instructor: Colin Goble */ public class ThrowEmployee { ! public static void main(String[] args) { } } --- 5,48 ---- * Instructor: Colin Goble */ + public class ThrowEmployee { ! public static void main(String[] args) throws Exception { ! Employee[] emp = new Employee[3]; ! ! for (int i = 0; i < 3; i++) { ! try { ! emp[i] = new Employee(i + 1, i * 30); ! } ! catch (EmployeeException error) { ! System.out.println("Employee error: " + error.getMessage()); ! } ! } ! } ! } ! ! class EmployeeException extends Exception { ! EmployeeException(String s) { ! super(s); } } + + class Employee { + int idNum; + double hourlyWage; + + Employee (int id, double wage) throws EmployeeException { + idNum = id; + hourlyWage = wage; + + if (hourlyWage < 6.00) { + String s = "Employee " + idNum + " makes $" + hourlyWage + 0 + " which is under $6.00."; + throw (new EmployeeException(s)); + } + + if (hourlyWage > 50.00) { + String s = "Employee " + idNum + " makes $" + hourlyWage + 0 + " which is more $50.00."; + throw (new EmployeeException(s)); + } + } + } \ No newline at end of file |
From: <b_...@us...> - 2003-07-23 20:37:05
|
Update of /cvsroot/ordweb/uop/pos407/bryanm/week4 In directory sc8-pr-cvs1:/tmp/cvs-serv22611 Added Files: ThrowEmployee.java Log Message: init --- NEW FILE: ThrowEmployee.java --- /** * Created By: Bryan Meier * Date: 7/23/03 * Class: POS407 * Instructor: Colin Goble */ public class ThrowEmployee { public static void main(String[] args) { } } |
From: <b_...@us...> - 2003-07-23 20:25:33
|
Update of /cvsroot/ordweb/uop/pos407/team/week5/examples In directory sc8-pr-cvs1:/tmp/cvs-serv20030/pos407/team/week5/examples Added Files: Arrays1.java Arrays2.java Arrays3.java Arrays4.java Arrays5.java Log Message: init --- NEW FILE: Arrays1.java --- public class Arrays1 { public static void main (String [] args) { App app = new App(); app.start(); } } class App { void start () { Deck d = new Deck(); System.out.println(d.toString()); } } class Deck { int count = 52; Card [ ] cards = new Card[52]; Deck() { for (int suit = 1; suit <= 4; suit ++) { for (int face = 1; face <= 13; face++) { cards[((suit-1)*13)+(face-1)] = new Card(face, suit); } } } public String toString() { String result = ""; for (int i = 0; i < count; i++) { result += cards[i].toString() + '\n'; } return result; } } class Card { int face; int suit; Card (int f, int s) { this.face = f; //or just face = f; this.suit = s; //or just suit = s; return; } public String toString() { String result = ""; if (face == 1) result = "Ace"; if (face == 11) result = "Jack"; if (face == 12) result = "Queen"; if (face == 13) result = "King"; if (face > 1 && face < 11) result = Integer.toString(face); result = result + " of "; if (suit == 1) result += "Clubs"; if (suit == 2) result += "Diamonds"; if (suit == 3) result += "Hearts"; if (suit == 4) result += "Spades"; return result; } } --- NEW FILE: Arrays2.java --- import java.io.*; public class Arrays2 { public static void main (String [] args) throws IOException { App app = new App(); app.start(); } } class App { void start () throws IOException { BufferedReader br = new BufferedReader (new InputStreamReader(System.in)); Deck d = new Deck(); Card c = null; boolean again = true; while (again) { System.out.print ("Main Menu: (D)eal (L)ist (Q)uit: "); String input = br.readLine().toLowerCase(); if (input == null || input.length() == 0) continue; char letter = input.charAt(0); switch (letter) { case 'd': c = d.deal(); System.out.println("Card is: " + c); break; case 'l': System.out.println (d); break; case 'q': again = false; break; default: System.out.println ("Reply not recongized. Please try again."); } } } } class Deck { int count = 52; Card [ ] cards = new Card[52]; Deck() { for (int suit = 1; suit <= 4; suit ++) { for (int face = 1; face <= 13; face++) { cards[((suit-1)*13)+(face-1)] = new Card(face, suit); } } } Card deal () { if (count <= 0) return null; count = count - 1; return cards[count]; } public String toString() { String result = ""; for (int i = 0; i < count; i++) { result += cards[i].toString() + '\n'; } return result; } } class Card { int face; int suit; Card (int f, int s) { this.face = f; //or just face = f; this.suit = s; //or just suit = s; return; } public String toString() { String result = ""; if (face == 1) result = "Ace"; if (face == 11) result = "Jack"; if (face == 12) result = "Queen"; if (face == 13) result = "King"; if (face > 1 && face < 11) result = Integer.toString(face); result = result + " of "; if (suit == 1) result += "Clubs"; if (suit == 2) result += "Diamonds"; if (suit == 3) result += "Hearts"; if (suit == 4) result += "Spades"; return result; } } --- NEW FILE: Arrays3.java --- //This demonstrates shuffling. import java.io.*; public class Arrays3 { public static void main (String [] args) throws IOException { App app = new App(); app.start(); } } class App { void start () throws IOException { BufferedReader br = new BufferedReader (new InputStreamReader(System.in)); Deck d = new Deck(); Card c = null; boolean again = true; while (again) { System.out.print ("Main Menu: (D)eal (L)ist (S)huffle (Q)uit: "); String input = br.readLine().toLowerCase(); if (input == null || input.length() == 0) continue; char letter = input.charAt(0); switch (letter) { case 'd': c = d.deal(); System.out.println("Card is: " + c); break; case 'l': System.out.println (d); break; case 's': d.shuffle(); System.out.println("Deck shuffled"); break; case 'q': again = false; break; default: System.out.println ("Reply not recongized. Please try again."); } } } } class Deck { int count = 52; Card [ ] cards = new Card[52]; Deck() { for (int suit = 1; suit <= 4; suit ++) { for (int face = 1; face <= 13; face++) { cards[((suit-1)*13)+(face-1)] = new Card(face, suit); } } } Card deal () { if (count <= 0) return null; count = count - 1; return cards[count]; } public void shuffle () { if (count <= 0) return; for (int i = 0; i <100; i++) { int a = (int) (Math.random() * count); int b = (int) (Math.random() * count); Card temp = cards[a]; cards[a] = cards[b]; cards[b] = temp; } } public String toString() { String result = "Number of cards is " + count + ".\n"; for (int i = 0; i < count; i++) { result += cards[i].toString() + '\n'; } return result; } } class Card { int face; int suit; Card (int f, int s) { this.face = f; //or just face = f; this.suit = s; //or just suit = s; return; } public String toString() { String result = ""; if (face == 1) result = "Ace"; if (face == 11) result = "Jack"; if (face == 12) result = "Queen"; if (face == 13) result = "King"; if (face > 1 && face < 11) result = Integer.toString(face); result = result + " of "; if (suit == 1) result += "Clubs"; if (suit == 2) result += "Diamonds"; if (suit == 3) result += "Hearts"; if (suit == 4) result += "Spades"; return result; } } --- NEW FILE: Arrays4.java --- //This demonstrates finding the max and min of an array. import java.io.*; public class Arrays4 { public static void main (String [] args) throws IOException { App app = new App(); app.start(); } } class App { void start () throws IOException { BufferedReader br = new BufferedReader (new InputStreamReader(System.in)); Deck d = new Deck(); Card c = null; boolean again = true; while (again) { System.out.print ("Main Menu: (D)eal (L)ist (S)huffle (Q)uit: "); String input = br.readLine().toLowerCase(); if (input == null || input.length() == 0) continue; char letter = input.charAt(0); switch (letter) { case 'd': c = d.deal(); System.out.println("Card is: " + c); break; case 'l': System.out.println (d); break; case 's': d.shuffle(); System.out.println("Deck shuffled"); break; case 'q': again = false; break; default: System.out.println ("Reply not recongized. Please try again."); } } } } class Deck { int count = 52; Card [ ] cards = new Card[52]; Deck() { for (int suit = 1; suit <= 4; suit ++) { for (int face = 1; face <= 13; face++) { cards[((suit-1)*13)+(face-1)] = new Card(face, suit); } } } Card deal () { if (count <= 0) return null; count = count - 1; return cards[count]; } Card highest () { if (count <= 0) return null; Card h = cards[0]; for (int i = 1; i < count; i++) { if (cards[i].higherThan(h)) h = cards[i]; } return h; } Card lowest () { if (count <= 0) return null; Card h = cards[0]; for (int i = 1; i < count; i++) { if (!cards[i].higherThan(h)) h = cards[i]; } return h; } public void shuffle () { if (count <= 0) return; for (int i = 0; i <100; i++) { int a = (int) (Math.random() * count); int b = (int) (Math.random() * count); Card temp = cards[a]; cards[a] = cards[b]; cards[b] = temp; } } public String toString() { String result = "Number of cards is " + count + ".\n"; result += "Highest card is " + highest() + ".\n"; result += "Lowest card is " + lowest() + ".\n"; for (int i = 0; i < count; i++) { result += cards[i].toString() + '\n'; } return result; } } class Card { int face; int suit; Card (int f, int s) { this.face = f; //or just face = f; this.suit = s; //or just suit = s; return; } boolean higherThan (Card a) { if (this.face > a.face) return true; else if (this.face < a.face) return false; else if (this.suit > a.suit) return true; else return false; } public String toString() { String result = ""; if (face == 1) result = "Ace"; if (face == 11) result = "Jack"; if (face == 12) result = "Queen"; if (face == 13) result = "King"; if (face > 1 && face < 11) result = Integer.toString(face); result = result + " of "; if (suit == 1) result += "Clubs"; if (suit == 2) result += "Diamonds"; if (suit == 3) result += "Hearts"; if (suit == 4) result += "Spades"; return result; } } --- NEW FILE: Arrays5.java --- //This demonstrates sorting an array. import java.io.*; public class Arrays5 { public static void main (String [] args) throws IOException { App app = new App(); app.start(); } } class App { void start () throws IOException { BufferedReader br = new BufferedReader (new InputStreamReader(System.in)); Deck d = new Deck(); Card c = null; boolean again = true; while (again) { System.out.print ("Main Menu: (D)eal (L)ist (S)huffle (O)rder (Q)uit: "); String input = br.readLine().toLowerCase(); if (input == null || input.length() == 0) continue; char letter = input.charAt(0); switch (letter) { case 'd': c = d.deal(); System.out.println("Card is: " + c); break; case 'l': System.out.println (d); break; case 's': d.shuffle(); System.out.println("Deck shuffled"); break; case 'o': d.sort(); System.out.println("Deck Ordered (sorted)"); break; case 'q': again = false; break; default: System.out.println ("Reply not recongized. Please try again."); } } } } class Deck { int count = 52; Card [ ] cards = new Card[52]; Deck() { for (int suit = 1; suit <= 4; suit ++) { for (int face = 1; face <= 13; face++) { cards[((suit-1)*13)+(face-1)] = new Card(face, suit); } } } Card deal () { if (count <= 0) return null; count = count - 1; return cards[count]; } void sort () { boolean swap = true; while (swap) { swap = false; for (int i = 0; i <= count - 2; i++) { if (!cards[i].higherThan(cards[i+1])) { Card temp = cards[i]; cards[i] = cards[i+1]; cards[i+1] = temp; swap = true; } } } } Card highest () { if (count <= 0) return null; Card h = cards[0]; for (int i = 1; i < count; i++) { if (cards[i].higherThan(h)) h = cards[i]; } return h; } Card lowest () { if (count <= 0) return null; Card h = cards[0]; for (int i = 1; i < count; i++) { if (!cards[i].higherThan(h)) h = cards[i]; } return h; } public void shuffle () { if (count <= 0) return; for (int i = 0; i <100; i++) { int a = (int) (Math.random() * count); int b = (int) (Math.random() * count); Card temp = cards[a]; cards[a] = cards[b]; cards[b] = temp; } } public String toString() { String result = "Number of cards is " + count + ".\n"; result += "Highest card is " + highest() + ".\n"; result += "Lowest card is " + lowest() + ".\n"; for (int i = 0; i < count; i++) { result += cards[i].toString() + '\n'; } return result; } } class Card { int face; int suit; Card (int f, int s) { this.face = f; //or just face = f; this.suit = s; //or just suit = s; return; } boolean higherThan (Card a) { if (this.face > a.face) return true; else if (this.face < a.face) return false; else if (this.suit > a.suit) return true; else return false; } public String toString() { String result = ""; if (face == 1) result = "Ace"; if (face == 11) result = "Jack"; if (face == 12) result = "Queen"; if (face == 13) result = "King"; if (face > 1 && face < 11) result = Integer.toString(face); result = result + " of "; if (suit == 1) result += "Clubs"; if (suit == 2) result += "Diamonds"; if (suit == 3) result += "Hearts"; if (suit == 4) result += "Spades"; return result; } } |
Update of /cvsroot/ordweb/uop/pos407/team/week5/cards/cards/src In directory sc8-pr-cvs1:/tmp/cvs-serv19279 Added Files: ace.pnm back.pnm black-2.pnm black-3.pnm black-4.pnm black-5.pnm black-6.pnm black-7.pnm black-8.pnm black-9.pnm black-a.pnm black-j.pnm black-k.pnm black-q.pnm black-t.pnm border.pnm box.pnm face-jc.pnm face-jd.pnm face-jh.pnm face-js.pnm face-kc.pnm face-kd.pnm face-kh.pnm face-ks.pnm face-qc.pnm face-qd.pnm face-qh.pnm face-qs.pnm joker.pnm large-c.pnm large-d.pnm large-h.pnm large-s.pnm make-cards make-run red-2.pnm red-3.pnm red-4.pnm red-5.pnm red-6.pnm red-7.pnm red-8.pnm red-9.pnm red-a.pnm red-j.pnm red-k.pnm red-q.pnm red-t.pnm small-c.pnm small-d.pnm small-h.pnm small-s.pnm Log Message: init --- NEW FILE: ace.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-2.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-3.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-4.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-5.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-6.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-7.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-8.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-9.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-a.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-j.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-k.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-q.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: black-t.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: border.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: box.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-jc.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-jd.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-jh.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-js.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-kc.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-kd.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-kh.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-ks.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-qc.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-qd.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-qh.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: face-qs.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: joker.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: large-c.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: large-d.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: large-h.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: large-s.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: make-cards --- #!/usr/bin/perl $workfile="work.tmp"; $tmp="."; start("border"); insert("4 4","back"); finish("b"); makecard("J"," ","j"); foreach $suit (qw/c d h s/) { foreach $number (qw/2 3 4 5 6 7 8 9 t j q k a/) { makecard($number,$suit,"$number$suit"); } } sub makecard { my($number,$suit,$save)=@_; my($nfile); my($s); $s="large-$suit"; print "Making $save\n"; # print "Making card for $number/$suit\n"; $nfile="red-$number" if $suit=~/h|d/; $nfile="black-$number" if $suit=~/c|s/; start("border"); if($number eq "J") { insert("5 11","joker"); symrotinsert("2 3","black-j"); } else { symrotinsert("2 3",$nfile); symrotinsert("2 18","small-$suit"); if($number=~/[qjk]/) { insert("13 11","box"); symrotinsert("14 12","face-$number$suit"); } elsif($number eq "a" && $suit eq "s") { insert("16 18","ace"); } else { insert("29 41",$s) if($number=~/[a359]/); insert("29 25",$s) if($number=~/[7]/); symrotinsert("29 20",$s) if($number=~/[2t]/); symrotinsert("29 9",$s) if($number=~/[3]/); symrotinsert("29 25",$s) if($number=~/[8]/); flipxinsert("13 41",$s) if($number=~/[678]/); quadinsert("13 30",$s) if($number=~/[9t]/); quadinsert("13 9",$s) if($number=~/[456789t]/); } } finish($save); } sub getsize { my($file)=@_; my($out); $out=`pnmfile $file`; $out=~/(\d+) by (\d+)/; # print "Size of $file is $1 by $2\n"; return "$1 $2"; } sub getx { @_[0]=~/(\d+) (\d+)/; return $1; } sub gety { @_[0]=~/(\d+) (\d+)/; return $2; } sub start { my($startfile)=@_; $startfile.=".pnm"; $worksize=getsize($startfile); system("cp $startfile $workfile"); } sub finish { my($save)=@_; $save.=".gif"; system("ppmtogif -interlace -sort -transparent yellow < $workfile > $save 2>/dev/null"); system("rm $workfile"); } sub insert { my($pos,$ovly)=@_; # print "Inserting $ovly at ($pos)\n"; system("pnmpaste $ovly.pnm $pos $workfile > $tmp/1.tmp"); system("mv $tmp/1.tmp $workfile"); } sub rotinsert { my($pos,$ovly)=@_; # print "Flipping and inserting $ovly at ($pos)\n"; system("pnmflip -r180 $ovly.pnm > $tmp/f.tmp"); system("pnmpaste $tmp/f.tmp $pos $workfile > $tmp/1.tmp"); system("mv $tmp/1.tmp $workfile"); system("rm $tmp/f.tmp"); } sub symrotinsert { my($pos,$ovly)=@_; my($size,$sympos); # print "Sym rot insert $ovly at ($pos):\n"; $size=getsize("$ovly.pnm"); $sympos=(getx($worksize)-getx($pos)-getx($size)). " ".(gety($worksize)-gety($pos)-gety($size)); rotinsert($sympos,$ovly); insert($pos,$ovly); } sub flipxinsert { my($pos,$ovly)=@_; my($size,$sympos); # print "Flip x insert $ovly at ($pos):\n"; $size=getsize("$ovly.pnm"); $sympos=(getx($worksize)-getx($pos)-getx($size)). " ".(gety($pos)); insert($sympos,$ovly); insert($pos,$ovly); } sub quadinsert { my($pos,$ovly)=@_; my($size,$sympos); # print "Quad insert $ovly at ($pos):\n"; $size=getsize("$ovly.pnm"); $sympos=(getx($worksize)-getx($pos)-getx($size)). " ".(gety($pos)); symrotinsert($sympos,$ovly); symrotinsert($pos,$ovly); } --- NEW FILE: make-run --- #!/usr/bin/perl $width=shift(@ARGV); $last=pop(@ARGV); foreach $card (@ARGV) { system("giftopnm $card.gif | pnmcut 0 0 $width 97 > $card.tmp"); push(@link,"$card.tmp"); } system("giftopnm $last.gif > last.tmp"); system("pnmcat -lr @link last.tmp | ppmtogif -interlace -sort -transparent yellow"); system("rm @link last.tmp"); --- NEW FILE: red-2.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-3.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-4.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-5.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-6.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-7.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-8.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-9.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-a.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-j.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-k.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-q.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: red-t.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: small-c.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: small-d.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: small-h.pnm --- (This appears to be a binary file; contents omitted.) --- NEW FILE: small-s.pnm --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/ordweb/uop/pos407/team/week5/cards/cards In directory sc8-pr-cvs1:/tmp/cvs-serv18998 Added Files: 2c.gif 2d.gif 2h.gif 2s.gif 3c.gif 3d.gif 3h.gif 3s.gif 4c.gif 4d.gif 4h.gif 4s.gif 5c.gif 5d.gif 5h.gif 5s.gif 6c.gif 6d.gif 6h.gif 6s.gif 7c.gif 7d.gif 7h.gif 7s.gif 8c.gif 8d.gif 8h.gif 8s.gif 9c.gif 9d.gif 9h.gif 9s.gif ac.gif ad.gif ah.gif as.gif b.gif COPYING j.gif jc.gif jd.gif jh.gif js.gif kc.gif kd.gif kh.gif ks.gif qc.gif qd.gif qh.gif qs.gif tc.gif td.gif th.gif ts.gif Log Message: init --- NEW FILE: 2c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 2d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 2h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 2s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 3s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 4s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 5s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 6s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 7s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 8s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9c.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9d.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9h.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: 9s.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ac.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ad.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ah.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: as.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: b.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: COPYING --- GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble 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. 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. 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. 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. 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. 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. 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. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. 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 "Program", below, refers to any such program or work, and a "work based on the Program" 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 "modification".) Each licensee is addressed as "you". 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. 1. 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. 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. 2. 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: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) 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. c) 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.) 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. 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. 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. 3. 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: a) 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, b) 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, c) 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.) 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. 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. 4. 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. 5. 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. 6. 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. 7. 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. 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. 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. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. 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. 9. 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. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", 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. 10. 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. NO WARRANTY 11. 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 "AS IS" 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. 12. 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. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs 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. 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 "copyright" line and a pointer to where the full notice is found. <one line to give the program's name and a brief idea of what it does.> Copyright (C) 19yy <name of author> 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. 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. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: 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. 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. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice 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. --- NEW FILE: j.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: jh.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: js.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: kh.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ks.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qd.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qh.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: qs.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: tc.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: td.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: th.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ts.gif --- (This appears to be a binary file; contents omitted.) |