Similar Books


    No books found

Title
Chapter: 16 / Q: 19
(Control a group of fans) Write a program that displays three fans in a group, with control buttons to start and stop all of them, as shown in Figure 16.44
Chapter: 16 / Q: 20
(Count-up stopwatch) Write a program that simulates a stopwatch, as shown in Figure 16.45a
Chapter: 16 / Q: 21
(Count-down stopwatch) Write a program that allows the user to enter time in seconds in the text field and press the Enter key to count down the seconds, as shown in Figure 16.45d
Chapter: 16 / Q: 22
(Play, loop, and stop a sound clip) Write a program that meets the following requirements:
Chapter: 16 / Q: 23
(Create an image animator with audio) Create animation in Figure 16.46b to meet the following requirements
Chapter: 16 / Q: 24
(Revise Listing 16.14 MediaDemo.java) Add a slider to enable the user to set the current time for the video and a label to display the current time and the total time for the video. As shown in Figure 16.47a
Chapter: 16 / Q: 25
(Racing cars) Write a program that simulates four cars racing, as shown in Figure 16.47b. You can set the speed for each car, with maximum 100
Chapter: 16 / Q: 26
(Simulation: raise flag and play anthem) Write a program that displays a flag rising up, as shown in Figure 15.14. As the national flag rises, play the national anthem. (You may use a flag image and anthem audio file from Listing 16.15.)
Chapter: 16 / Q: 27
(Display country flag and flag description) Listing 16.4, ComboBoxDemo.java, gives a program that lets the user view a country’s flag image and description by selecting the country from a combo box
Chapter: 16 / Q: 28
(Slide show) Programming Exercise 15.30 developed a slide show using images. Rewrite that program to develop a slide show using text files. Suppose ten text files named slide0.txt, slide1.txt, . . . , and slide9.txt are stored in the text directory
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