Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Introduction to Java Programming, Comprehensive Version (10th Edition)
by
Y. Danial liang
Edition:
10th edition
ISBN13:
978-0133761313
ISBN10:
0133761312
772
Java programming
Home
Books
Introduction to Java Programming, Comprehensive Version (10th Edition)
Similar Books
No books found
Title
Chapter: 15 /
Q: 15
(Geometry: add and remove points) Write a program that lets the user click on a pane to dynamically create and remove points (see Figure 15.28a)
Chapter: 15 /
Q: 16
(Two movable vertices and their distances) Write a program that displays two circles with radius 10 at location (40, 40) and (120, 150) with a line connecting the two circles, as shown in Figure 15.28b
Chapter: 15 /
Q: 17
(Geometry: find the bounding rectangle) Write a program that enables the user to add and remove points in a two-dimensional plane dynamically, as shown in Figure 15.29a
Chapter: 15 /
Q: 18
(Move a rectangle using mouse) Write a program that displays a rectangle. You can point the mouse inside the rectangle and drag (i.e., move with mouse pressed) the rectangle wherever the mouse goes
Chapter: 15 /
Q: 19
(Game: eye-hand coordination) Write a program that displays a circle of radius 10 pixels filled with a random color at a random location on a pane, as shown in Figure 15.29b
Chapter: 15 /
Q: 20
(Geometry: display angles) Write a program that enables the user to drag the vertices of a triangle and displays the angles dynamically as the triangle shape changes, as shown in Figure 15.30a
Chapter: 15 /
Q: 21
(Drag points) Draw a circle with three random points on the circle. Connect the points to form a triangle. Display the angles in the triangle
Chapter: 15 /
Q: 22
(Auto resize cylinder) Rewrite Programming Exercise 14.10 so that the cylinder’s width and height are automatically resized
Chapter: 15 /
Q: 23
(Auto resize stop sign) Rewrite Programming Exercise 14.15 so that the stop sign’s width and height are automatically resized when the window is resized
Chapter: 15 /
Q: 24
(Animation: palindrome) Write a program that animates a palindrome swing as shown in Figure 15.31. Press/release the mouse to pause/resume the animation
total questions:
772
Previous
40
41
42
43
44
Next
Questions
772
Views
Best Answers
299
Points
5
×
Close
add reason
reason