Q:

(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

0

 (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, the total time is 5 minutes and 3 seconds and the current time is 3 minutes and 58 seconds. As the video plays, the slider value and current time are continuously updated.

FIGURE 16.47 (a) A slider for current video time and a label to show the current time and total time are added.

All Answers

total answers (0)

Similar questions


need a help?


find thousands of online teachers now