A good answer might be:
To be precise you would need to adjust the starting
coordinates based on the size of the characters in "Hello".
Also, the size of the drawing area includes the borders and the top bar of the frame.
To get "Hello" in the center of the area that is left you have to account for those
borders.
All this can be done, but lets not.
|
End of the Chapter
You have reached the end of the chapter. If you are in the right Frame of mind, you may wish to review the following:
The next chapter will discuss how to add a listener to the Frame. Click here to go back to the main menu. |
| You have reached the End. |