7.6 Graphics Supplement

Write your answer in the space provided.

—WEB PAGE INSTRUCTION.

A man paints with his brains and not with his hands.

—MICHELANGELO

The first part of this section covers the FlowPane layout, which is another simple layout. Next we cover text areas and text fields, which are components that can be used for text input and output in your applications. It does not require any material from earlier in this chapter and so may be read even if you do not read the main body of this chapter. The remainder of this section shows you how to draw a very general kind of figure known as a polygon. It does require the basic material on arrays covered earlier in this chapter.

Layout Panes

So far we’ve been using the VBox layout pane to ...

Get Java: An Introduction to Problem Solving and Programming, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.