This homework is meant to give you practice with event-handling in Java.
CS594 Students Only: Make the gauge be an oval arc with a height that is 1/2 the width of the arc (e.g., drawArc(0, 0, 100, 50)). Visually the height of the arc will only appear to be 1/4 the width because only the top half of the arc will be visible. Make the arrowline always terminate exactly on the arc's chord. You can get the point where a ray starting at the center of the arc intersects the arc's elliptical boundary using the following polar coordinate equation for an ellipse:
x = center_x + (width/2) * cos(angle) y = center_y - (height/2) * sin(angle)
java selectText 20 "Vander Zanden" "Hooty And The Blowfish" "Boo Hoo"
CS594 Students Only: Implement the following additional keyboard actions:
java selectText Times 20 VanderZanden HootyAndTheBlowfish Boo Hoo
Here is what the same screen might look like with the cursor not selected: