Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program that can dynamically change the quote by an author and font of this quote (displayed using a label) displayed on a stack

image text in transcribed

Write a program that can dynamically change the quote by an author and font of this quote (displayed using a label) displayed on a stack pane. The text can be displayed in bold and italic at the same time. You can select the quote text or font size from combo boxes, as shown in the Figure below. The font weight and pasture (BOLD/ITALIC)) can be selected from the checkboxes at the bottom of the pane. The available list of authors for the combo box and its associated quote for the Label text in the Stack Pane can be obtained from the list below. The combo box for the font size is initialized with numbers from 1 to 100. You will need the following components for this Problem: Border pane to anchor all the elements - 10% Stack Pane the center that has a Label as its node. This Label should display the quote by the selected author. Set its initial text to display the quote by the author listed first in your ComboBox. The weight, posture, size, of the text should be set as default - 20% 2 combo boxes at the top of the border pane - 40% a. Author ComboBox - use the list above. When an author is selected from this box, their associated quote should be displayed in the Stack Pane the center. b. Font Size ComboBox with values from 1-100. when a size is selected, it should set the font property of the label in the StackPane Checkboxes at the bottom of the Border Pane - 20% a. CheckBox for setting the weight of the label in the Stack Pane (Border or Normal) b. CheckBox for setting posture of the label(Italic or Regular) Include proper documentation in your code and submit 3 screenshots of the output window with different combinations of selections. - 10%

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

Can leftist heaps efficiently support decreaseKey?

Answered: 1 week ago