Similar Books


    No books found

Title
Chapter: 15 / Q: 25
(Animation: ball on curve) Write a program that animates a ball moving along a sine curve, as shown in Figure 15.32
Chapter: 15 / Q: 26
(Change opacity) Rewrite Programming Exercise 15.24 so that the ball’s opacity is changed as it swings
Chapter: 15 / Q: 27
Control a moving text) Write a program that displays a moving text, as shown in Figure 15.33a and b
Chapter: 15 / Q: 28
(Display a running fan) Write a program that displays a running fan, as shown in Figure 15.33c
Chapter: 15 / Q: 29
(Racing car) Write a program that simulates car racing, as shown in Figure 15.34a
Chapter: 15 / Q: 30
(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
Chapter: 15 / Q: 31
(Geometry: pendulum) Write a program that animates a pendulum swinging, as shown in Figure 15.35
Chapter: 15 / Q: 32
(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
Chapter: 15 / Q: 33
(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
Chapter: 15 / Q: 34
(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
total questions: 772

Questions

772

Views

A PHP Error was encountered

Severity: Warning

Message: Undefined property: stdClass::$TotalViews

Filename: books/book.php

Line Number: 411

Best Answers

299

Points

5