Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Asmaamasry Questions
705 Questions
(Demonstrate TextField properties) Write a program that sets the horizontalalignment and column-size properties of a text field dynamically, as shown in Figure 16.38a
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
210
(Convert numbers) Write a program that converts between decimal, hex, and binary numbers, as shown in Figure 16.37c
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
404
(Create a miles/kilometers converter) Write a program that converts miles and kilometers, as shown in Figure 16.37b
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
292
(Traffic lights) Write a program that simulates a traffic light. The program lets the user select one of three lights: red, yellow, or green
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
187
(Select geometric figures) Write a program that draws various figures, as shown in Figure 16.36b. The user selects a figure from a radio button and uses a check box to specify whether it is filled
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
168
(Use radio buttons) Write a GUI program as shown in Figure 16.36a. You can use buttons to move the message to the left and right and use the radio buttons to change the color for the message displayed
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
274
(Simulation: self-avoiding random walk) Write a simulation program to show that the chance of getting dead-end paths increases as the grid size increases
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
175
(Animation: self-avoiding random walk) Revise the preceding exercise to display the walk step by st
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
135
(Simulation: self-avoiding random walk) A self-avoiding walk in a lattice is a path from one point to another that does not visit the same point twice
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
176
(Game: bean-machine animation) Write a program that animates the bean machine introduced in Programming Exercise 7.21. The animation terminates after ten balls are dropped, as shown in Figure 15.36b and c
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
226
(Control a clock) Modify Listing 14.21, ClockPane.java, to add the animation into this class and add two methods start() and stop() to start and stop the clock
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
116
(Geometry: pendulum) Write a program that animates a pendulum swinging, as shown in Figure 15.35
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
138
(Slide show) Twenty-five slides are stored as image files (slide0.jpg, slide1 .jpg, . . . , slide24.jpg) in the image directory downloadable along with the source code in the book. The size of each image is 800 * 600. Write a program that automatically displays the slides repeatedly
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
217
Total:
705
Previous
50
51
52
53
54
Next
Go