CIT 591 Old Announcements
Fall 2006, David Matuszek

Date Announcements
December 7, 2006 The answers to the midterm have been posted.
December 5, 2006 I've added a page on Images in Applets.
December 4, 2006

To add scroll bars (as needed) to a JTextArea, instead of
      JScrollPane myJScrollPane = new JScrollPane(myJTextArea);

Ignore the sample code I gave you before, which is probably incorrect (sorry!).

December 4, 2006

Finally! Another pizza party!

Thursday December 7, 6:30 - 8
Levine 307

Who is invited: All current and former MCIT students and faculty, and students taking MCIT classes. OK to bring a guest.

November 27, 2006 I've added a page of Hints for the Three Musketeers assignment. Actually, the only hint it currently contains is how to avoid having 25 separate listeners.
November 21, 2006 Two former MCIT students, Gemma Ros and Kunal Phanse, now work for Lehman Brothers. They are giving a recruiting presentation Wednesday, November 29, 7-8 PM in Skirkanich Hall, Berger Auditorium. They are currently looking for summer analysts only, but that may lead to a full-time offer. (Here's a link to a glossy PDF announcement.)
November 17, 2006 I forgot to say--but I hope it's obvious--your Three Musketeers game should not let the human make illegal moves.
November 13, 2006 The due date for the Adventure Game assignment has been extended to Sunday, November 19, before midnight. We will have lab (and a new assignment) as usual on Friday, November 17.
November 12, 2006 As stated in the lab, the due date for the Adventure Game assignment is Thursday, November 16, before midnight. (It was mistyped in the assignment.)
November 11, 2006

To study for midterm:

GUIs (event loops, AWT, Swing) will not be on the midterm.

November 11, 2006

Oops--double-clicking McGame.jar doesn't execute the program (I'll explain why in class.) There are two solutions:

  • Uncompress the files--you may have to change the name to first--and run them in the usual way.
  • (Microsoft only) Create a file named runMcGame.bat (or download this one) containing the single line java -jar McGame.jar, save it in the same directory as McGame.jar, and double-click it instead of double-clicking McGame.jar.
November 10, 2006 I found some broken links in my Java Syntax Pages and the corresponding downloadable .zip file. There are a few other (trivial) changes in these pages.
November 10, 2006 As mentioned in lab today, SwingExamples.jar is a program you should run, not look at the source code. (The source code isn't secret or anything, just complex.)
November 7, 2006 Saj will have a review session this Sunday, November 12, at 2:00 in Moore 207.
November 1, 2006 I've added a short page of Pig Latin Notes.
November 1, 2006 Saj is still sick, so no office hours today.
If you would like help, come to my extra session today (4:40 in DRL A5).
October 30, 2006 Due to illness, Saj is moving his office hours this week from 4:30-6:30 Monday to 4:30-6:30 Wednesday.
October 28, 2006 Danger Will Robinson!

My posted program makes references to CodeMachine; it does not refer to SimpleCodeMachine. If you copy this program into your project before using Eclipse's Refactor > Rename to change the name of CodeMachine to SimpleCodeMachine, it will (of course) change the references in my program as well--and that will make my program wrong.


  • Do the rename before copying my file, or
  • Get another copy of, or
  • Use a simple find/replace (not a Refactor > Rename) to change all occurrences of SimpleCodeMachine in back to CodeMachine.
October 27, 2006 I was inconsistent in my writeup of the new assignment. One of your classes should be named PigLatinMachine, not PigLatin. Sorry.
October 27, 2006 Saj has cancelled office hours today, due to illness.
October 26, 2006

Due to a fairly large contingent of CIT591 students having a TCOM midterm today, the due date for the SecretCodes assignment is extended (for everyone) by two days, to Saturday, October 28, before midnight.

We will still have a new assignment in this Friday's lab.

October 20, 2006 I've made minor clarifications in the suggestions for the SecretCodes assignment.
October 19, 2006 Still confused about static? See Static vs. Instance.
October 18, 2006 For your testing, I've provided some example games with answers.
October 10, 2006 The midterm exam will be in class on Monday, November 13.
October 10, 2006 No office hours today. Sorry.
October 6, 2006 I've modified the SaddlePoint assignment to give specific names to the class and the methods in the class. To help get you started with JUnit, I've added a page containing an Example JUnit Test.
October 2, 2006 Example I've added a page of my NumberPersonalities programs--all three versions, plus a bonus version not covered in class.
October 2, 2006 I've made a minor addition to the Frogger assignment.
September 29, 2006 I've added a link to my Eclipse FAQ, and started a new page on Eclipse Tips.
September 22, 2006

I have a couple of small corrections to the Bouncing Balls assignment:

  • Initial deltaX and deltaY values of the balls are slightly off.
  • The Graphics variable g isn't as easy to get to as it could be.
  • Strange problem with balls not appearing.
September 20, 2006 Note the change (above) in Saajan's office hours.
September 19, 2006

pizza First pizza party of the new academic year!

When: 6:30 Thursday, September 21
Where: Levine 307
Who is invited: All current, past, and future MCIT students, and all students currently taking an MCIT class.

September 19, 2006 I did not post telephone numbers for myself, the TA, or the MCIT tutor. This is because it is not appropriate for you to call us at home with routine questions. Please use email for this purpose.
September 19, 2006 The beginner's section is being moved to 4:30 Wednesdays in David Rittenhouse Labs A5.
September 18, 2006 I have posted a number of pages describing Java syntax. This is available online or as a downloadable zip file (start at index.html). I will be making occasional additions and corrections to these pages. Comments and corrections are most welcome!
September 15, 2006 There is a minor correction (and a slightly expanded explanation) in the definition of "square number" in the Number Personalities assignment.
September 15, 2006 Note the change in Vikas's office hours (above).
September 8, 2006 Somehow I posted a version of this web page that said there would be no final exam. That is incorrect. The final exam date is given below.
September 8, 2006 In the Self Portrait Assignment I got the description of the second setColor method totally wrong. It's fixed now.
Older Previous announcements (none yet)