Transcript slides

COMS S1007
Object-Oriented Programming
and Design in Java
July 24, 2008
Previously
• Basic Graphics
– Sections 2.11 to 2.13 and 3.9
• Event Handling
– Sections 9.6 to 9.10 and 10.9 to 10.11
• Use the handout/notes as reference
Today
• Graphical User Interfaces
– Sections 18.1 to 18.4
Homework #3
• Link will be posted on website
• Due Thursday July 31 at 5:30pm
– NO LATE SUBMISSIONS ACCEPTED!
• Print a copy of your source code AND
submit it electronically
Final Project
• You will design and build an application of your
own choosing
• Your program should be graphics-based and
include at least two of the following:
–
–
–
–
–
–
handling mouse clicks
handling keyboard input
Java GUI components
threads (which we’ll see next week)
networking (also covered next week)
any part of the Java API not covered in class
Ideas for Final Project
•
•
•
•
•
•
•
•
board games (checkers, Connect Four)
card games (blackjack, solitaire)
dice games (pig, Yahtzee)
“classic” arcade games (Pong, Space Invaders)
simple chat or discussion board
text editor
typing contest game
Programming Projects from textbook
• If you have no ideas… ask for help!
Last Summer’s Projects
•
•
•
•
•
•
Street Fighter
Hangman
Connect Four
Snakes
Music Player
Chat
Things to Consider
• You will only have about 10 days to
develop the application
• You should also allocate time for
documentation and the development of
testing code for your app
• The final project is due right before the
final exam
First Things First
• As part of Homework #3 you must submit
a document that includes the following:
– a one-paragraph "high-level" description of
what your program will do
– a listing and description of the classes you
expect to build, their member variables, and
their methods
• The teaching staff will give you prompt
feedback so that you have time to finish it