CSSE 220 – Object-Oriented Software Development
Homework 9
Objectives
Practice GUI implementation in Java. Catch up on reading in
the textbook.
Tasks
-
Complete the assigned reading for the next session: §9.6–9.10. As you read, see if you can answer the self-check questions. If there is something you do not understand, make note of it so you can ask about it.
-
Edit the
Big Java Review Wiki
on ANGEL, adding answers to three stars worth of the review exercises from
chapter 9. Be sure to carefully follow the instructions for doing this that are posted on the Wiki.
-
If you are behind on carefully reading Big Java, catch
up. THIs session's programming assignment is intentionally
short, to give you an opportunity to do this. The textbook
has many useful details and examples that we will not have time
to discuss in class.
-
Programming:
-
Your programming work for this assignment must be done in the
GUI Excursion
project inside Eclipse. Check out this project.
-
(3 points) TicTacToe: Finish the in-class exercise.
-
(8 points) Write a Java Swing GUI application that
displays two text fields and a button. Text in the
first text field should be blue, and in the second one
green. The button should be labeled "Synch".
Pressing the button should cause the contents of the
second text field to be the same as the contents of the
first one. Your
main()
method should be in a class called SynchViewer
. Add any other classes that you need.
Try doing this "from scratch" to check your
understanding of what we did in class. Refer to
the examples as necessary. Be sure to commit all code in the GUIExcursion project to your SVN repository.
Turn-in Instructions
We will grade your Wiki contributions using ANGEL. Turn-in your programming work by committing it to your SVN repository.