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

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