810:061:01 and 810:061:02 - Fall 2002 - weeks 8 thru 12
blue sheet quick reference.
First four weeks web
page outline/lecture notes/example applets and java resources.
Please review these often until October 31st gets
Color coded TA Schedule for Daniel and PJ, indicating the WRT 339 lab TA hours in BLUE and the WRT
112 TA hours in RED.
- Exam on Monday, November 25th. Midterm EXAM 2.
VIP: Study guide/outline of exam 2 material.
Includes some for loop and while loop examples, using FramedRect objects.
- Big Java textbook Chapter 13: Array
Lists example converts NestedSquares from recursive data structure
by using the Java ArrayList class. See pages 521-530 of textbook.
- Look at online Java
documentation, searching for
what you need.
- Paper and pencil exercises
and study questions from the Big Java textbook.
- String Tokenizer is covered on pages 254-255 of Big Java textbook.
Here is the
documentation for the StringTokenizer class.
- Here is
an example that uses a dialog
box to gather input from
the user, then uses standard String processing and while loop
techniques to print your favorite movie in a triangular pattern,
using the Courier New font.
- Exam #2 will be on the Monday of Thanksgiving week, which is our
last class before Thanksgiving break. Monday, November 25th exam.
- Recursion applied to
definition of a class. A PIV that is recursive??? Yes, it is
possible and desirable and common as a solution method!
Demo of recursively defined
Nested squares that can be moved around on the screen. Friday, November
Due date extended 3 more days: Bouncing Ball NOT due
due on Monday, November 11th by the start of your class.
- Loops and recursion exercises and
page number references for for loops and for selection trinary operator
in Big Java textbook.
- The validate() method to validate()
at the end of the begin() method that your components all get
displayed without having to resize the WindowController extended class
- Chapter 8 - Recursion from Williams
- Email on Label and Font classes
GUI cheat sheet summary is very helpful. Nice table format.
- Want to know more Color choices than Color.red and Color.yellow
and Color.blue so you can choose your favorites in Lab #7???
constants in Java for your GUI assignment Choice object. Pick 3 or
4 from this list of 13 colors. Color.magenta is most like purple.
There is no Color.purple.
- Here is the Scrollbar example to
study along with chapter 7 of the Williams textbook and Lab #7.
- Lab 6 (Frogger game) is due on Monday at the start of class.
You should read chapters 6 and 7 of the Williams College textbook
over carefully as you review the following links and review
today's (Friday, Oct 25th) lecture notes.
- Chapter 7: Java GUI components
such as command buttons, radio buttons and listboxes of Choices are
illustrated. To be discussed on Friday, October 25th in class.
handout of the Java code for DemoChoice.java
class. Its a nice version to look at while you are looking at the
above link, and it will (SOON) start up in a new browser window.
- Frogger Lane hints: HOW LONG to pause()
between creation of Vehicles? Pause() longer for SLOW Lanes.
- Midterm Test Score Distribution and
Frogger Program due date extension to Monday, by class time.
- Midterm exam outline of topics and practice
- Solution to while loop RED rectangles problem:
while loop exercise
has 5 staggered red rectangles.
frog will be like Frosty the Snowman example. Images and
- Link to Snowman and to
Falling Snow examples. Study these two examples carefully for
Lab #6 preparation and techniques.
game - Lab #6. Start early and do this
is stages! Goal #1 - get the Frog to appear at the bottom of the screen.
Get that done BEFORE Monday's class!
- Additional notes on the FROGGER project.
- Wright 219 CS Department office now has the Williams College textbook
chapters 6, 7 and 8 material. The cost is $2.10.
- Lab 7 is due by 5 p.m. on Tuesday, November 5th.
assignment #7 is due on 11/05/Tuesday by 5 p.m.