Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
class-diagram
Polymorphism
flowchart
if-else
Home
Questions
Questions
Study lists
Ashoor Questions
555 Questions
(Display a 3 * 3 grid) Write a program that displays a 3 * 3 grid, as shown in Figure 14.47c. Use red color for vertical lines and blue for horizontals. The lines are automatically resized when the window is resized
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
105
(Display a STOP sign) Write a program that displays a STOP sign, as shown in Figure 14.47b. The octagon is in red and the sign is in white. (Hint: Place an octagon and a text in a stack pane.)
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
104
(Display a pie chart) Write a program that uses a pie chart to display the percentages of the overall grade represented by projects, quizzes, midterm exams, and the final exam, as shown in Figure 14.46c
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
108
(Display a rectanguloid) Write a program that displays a rectanguloid, as shown in Figure 14.47a. The cube should grow and shrink as the window grows or shrinks
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
134
Display a bar chart) Write a program that uses a bar chart to display the percentages of the overall grade represented by projects, quizzes, midterm exams, and the final exam, as shown in Figure 14.46b
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
115
(Paint a smiley face) Write a program that paints a smiley face, as shown in Figure 14.46a
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
114
(Display a cylinder) Write a program that draws a cylinder, as shown in Figure 14.45b. You can use the following method to set the dashed stroke for an arc:
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
86
(Create four fans) Write a program that places four fans in a GridPane with two rows and two columns, as shown in Figure 14.45b
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
87
(Display 54 cards) Expand Exercise 14.3 to display all 54 cards (including two jokers), nine per row. The image files are jokers and are named 53.jpg and 54.jpg
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
69
(Display random 0 or 1) Write a program that displays a 10-by-10 square matrix, as shown in Figure 14.45a. Each element in the matrix is 0 or 1, randomly generated. Display each number centered in a text field. Use TextField’s setText method to set value 0 or 1 as a string
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
128
(Game: display a checkerboard) Write a program that displays a checkerboard in which each white and black cell is a Rectangle with a fill color black or white, as shown in Figure 14.44c
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
74
(Characters around circle) Write a program that displays a string Welcome to Java around the circle, as shown in Figure 14.44b. Hint: You need to display each character in the right location with appropriate rotation using a loop
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
71
(Color and font) Write a program that displays five texts vertically, as shown in Figure 14.44a. Set a random color and opacity for each text and set the font of each text to Times Roman, bold, italic, and 22 pixels
Java programming
2022-06-05
Answers
30
Question
40
Followers
30
0
1
76
Total:
555
Previous
1
2
3
4
Next
Go