Multiple Choice
Which of the following creates a custom style class that will allow a Button control to appear with a blue background and yellow text?
A) .button-color {
-fx- background-color: blue;
-fx- text-fill: yellow;
}
B) .button-color {
-fx- bgcolor: blue;
-fx- textfill: yellow;
}
C) .blue-button {
Background-color: blue;
Text-fill: yellow;
}
D) .blue-button {
-fx- background: blue;
-fx- text: yellow;
}
Correct Answer:

Verified
Correct Answer:
Verified
Q16: The _ class is used to create
Q17: To build a menu system you must
Q18: Which of the following statements will allow
Q19: To apply specific styles to all of
Q20: When the user selects an item in
Q22: To replace a ListView control's existing items
Q23: Which of the following statements creates a
Q24: Given the following styles, what size will
Q25: A ComboBox differs only from a ListView
Q26: The control that displays a list of