Step 3:

Write a small paragraph of text, about 60 words long with approx 2-4 sentences. Use proper spelling, punctuation and grammar.
Modify the app so that the paragraph is shown at the bottom of the screen. Implement line break functionality.

If the component is too small to fit the text, then the default implementation is to allow the prefix of the text that cannot fit to be truncated from the display. Optionally, you may implement additional behaviours to improve this aspect of the app (e.g., truncate the suffix instead of the prefix of the text if the whole text doesn't fit or to determine the largest possible point size so that the text will fit). Just be clear to document this explicitly. In addition, you may optionally implement behaviours so that the text never occludes the image (but possibly gets truncated in some fashion or its font size changes).

In the example below, the text attributes of font family and size have been explicitly modified; other attributes can be modified (string-wise or character-wise) as desired by the student.

Hint: You may find LineBreakSample.java at http://download.oracle.com/javase/tutorial/2d/text/drawmulstring.html helpful.
The tutorials Working with Text APIs at http://download.oracle.com/javase/tutorial/2d/text/index.html in general are helpful.

Examples

Pasted Graphic
Pasted Graphic 1
Note that occlusion of the graphic occurs when there is inadequate window real-estate due to resizing...
Pasted Graphic 2