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
(Create a text file) Write a program to create a file named Exercise17_01.txt if it does not exist. Append new data to it if it already exists
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
135
(Game: connect four) Programming Exercise 8.20 enables two players to play the connect-four game on the console
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
193
(Pattern recognition: consecutive four equal numbers) Write a GUI program for Programming Exercise 8.19, as shown in Figure 16.49a–b
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
169
(Display a calendar) Write a program that displays the calendar for the current month. You can use the Prior and Next buttons to show the calendar of the previous or next month
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
186
(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
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
206
(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
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
154
(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.)
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
172
(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
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
157
(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
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
0
154
(Create an image animator with audio) Create animation in Figure 16.46b to meet the following requirements
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
139
(Play, loop, and stop a sound clip) Write a program that meets the following requirements:
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
152
(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
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
175
(Count-up stopwatch) Write a program that simulates a stopwatch, as shown in Figure 16.45a
Java programming
2022-06-28
Answers
30
Question
40
Followers
30
0
1
188
Total:
705
Previous
48
49
50
51
52
Next
Go