Same partners.
Modify Ruler so that report() outputs to the graphics instead of the black command window. Note that you can shorten the message as the Ruler no longer has to repeatedly identify itself.
Similarly modify sayHelloTo() so the output goes to the graphics. For the moment keep it going to the black command window also, for comparison purposes. Keep a fairly long message here, one that's too long to fit on one line. Something like Hail, King Gilgamesh of the Sumerians, this is King Tut and I bring greetings from Egypt would work.
Use html tags to make the ID really stand out. Feel free to add other html tags that you feel enhance the appearance.
Add html tags to split the output of sayHelloTo() across multiple lines. Once again if you're familiar with HTML, feel free to use additional tags to make the output look better. Ditto for report(). Note that you may have to adjust the size of the Ruler panel as you do this.
Experiment with the colors. Somewhere use at least one color that you have to create yourself as discussed in class.
Answer the following questions in your submission e-mail message (comparing to the black command window may help you with these):
We aren't seeing the whole conversation in the talkLabel graphics. Which parts are we seeing?
Why is it that only these parts show up?
How might we fix it so that we can see the whole conversation again?
We'll look at your proposals and do the fix next time.
Now remove the printing to the black command window. Nothing should be printing there any more.
{Time permitting - Use section 7.12 on Borders in the book to put a border around each Ruler. Hint: If you do a simple border this should just be one line of code.
Send Conversation and Ruler to your partner and to me.