The actionPerformed method (cont'd)
Then
Listing 7
calls the
turn
and
forward
methods of the
Turtle
class
to cause the turtle to turn by the specified angle
and then move forward by the specified distance.
File: bu.htm
[Next]
[Prev]