V22.0101 ..... Homework 7 ..... Fall 2006
GUI Programming
Assigned: Wed Nov 8
Due in several stages:
- Proposal (a couple of paragraphs) describing an idea for your program,
both its theme and what the GUI will do: Tue Nov 14
- First draft of your program: Tue Nov 21
- Final version of your program: Thu Nov 30
Develop a GUI interface for something that interests you.
The program must be developed entirely by you, with assistance limited
to consulting with me, friends, other students, the TA etc about trouble
shooting, etc. Any assistance must be documented in the comments as
usual. I should be able to run the program and interact with your GUI
by following the instructions displayed in the GUI. Your program should
include button or mouse listeners that should result in appropriate
actions or displays. You should use some (but not all) of
JButton, JMenu, JTextField, JRadioButton, JComboBox, JLabel, JCheckBox, etc.
JPanel provides a useful way to organize the contents of a JFrame.
Organize buttons and so forth into panels or
other groups and construct multiple copies when appropriate.
Find a use for arrays of objects if possible.
There is a lot of information in the book in Chapters 12-15 which
may be useful, but be selective; there is no way you can incorporate
all or even many of the features that are discussed.
Your program should be well organized and have enough comments so that
I can understand what it is doing. Try to avoid using JOptionPane and
System.out.println; you can communicate with the user via JTextFields
(remember to call setEditable(true) if you want the user to be able
to write in the field).
If you don't have any ideas about what to do, talk to me on Monday.
One suggestion would be to
develop a calendar program that keeps tracks of engagement dates and times.
Feel free to email the class with technical questions.