Exercises
26.1 (Painter App Modification) Incorporate the RGBA color chooser you created in the Color Chooser app (Section 26.5) into the Painter app (Section 26.4) so that the user can choose any drawing color. Changing a Slider’s value should update the color swatch displayed to the user and set the brushColor instance variable to the current Color.
26.2 (Contacts App) Create a Contacts app modeled after the Cover Viewer app (Sections 26.6–26.7). Store the contact information in an ObservableList of Contact objects. A Contact should contain first name, last name, email and phone number properties (you can provide others). When the user selects a contact from the contacts list, its information should display in a Grid of TextFields. As the information ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access