Lecture 7
11
TestShapes
•Client for Screen, HLine, Box, self documenting
•interesting code fragments
–28-31: create a Screen, declare and create two HLines
–32,33 : paintOn message to HLine wants Screen  and position as arguments: “ask the HLine to paint itself     on a Screen”  -  Screen is invisible still
–34: creates an anonymous new HLine                                       which is then asked to paint itself on the Screen
–35: draw message to Screen gets Terminal as an argument “ask the Screen to draw itself on a Terminal” –                finally, everything is visible
–