Repeat Programming Project 8 in Chapter 1, but add yes-or-no dialogs to allow the user to make the following color changes:

• Change the color of the solid center circle from black to red.
• Change the color of the outer circle from black to blue.
• Change the color of the spines from black to green.

This project is an enhancement of a similar project from Chapter 1. This JavaFX program uses dialog windows and selection to change the appearance of the image drawn by the program. Use setStroke to set the line color and setFill to set the fill color.


See the code in Icon.java.

Computer Science & Information Technology

You might also like to view...

Electronic keycards, smart cards, and physical keys are authenticators that are referred to as a __________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Search option in Windows 8 is located on the:

A) Start screen. B) taskbar. C) desktop. D) Charms bar.

Computer Science & Information Technology

Each command block must begin and end with an asterisk.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

During user acceptance testing of an application, it is discovered that when entering order amounts in at least three cases the application crashed when the user hits submit. In all three cases, it cannot be determined exactly what type of mistyping caused the crash. Which tool could be used to reproduce this crash?

A. online fuzzer B. black box C. protocol analyzer D. ping sweeper

Computer Science & Information Technology