Listings
Listing 1
. The new setMessageColor method.
Listing 2
. The modified addMessage method.
Listing 3
. Beginning of the Prob04Runner class.
Listing 4
. Beginning of the anonymous listener class.
Listing 5
. Add a turtle to the world.
Listing 6
. Not the first click.
Listing 7
. Process odd or even clicks.
Listing 8
. Cause the program to terminate properly.
Listing 9
. Source code for the program named Prob04 .
Listing 10
. Modified World class .
Listing 11
. Modified SimplePicture class .
File: ad.htm
[Next]
[Prev]