hw5 - arguments the minSpeed maxSpeed and currentSpeed Use...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
University of Southern California Daniel J. Epstein Department of Industrial and Systems Engineering ISE 582: Web Technology for Industrial Engineering Homework 5 (Due 16 October 2003) Instructor: Elaine Chew Create a class, MINInterior that produces a drawing that looks like the interior of a MINI Cooper as shown below. The MINInterior constructor should take as
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: arguments the minSpeed, maxSpeed and currentSpeed. Use the drawOval, fillOval, and drawRect, fillRect methods. All four methods take four arguments: x,y,width, and height. Arrange for each circle to have the proper color. Have a method, getValueAtCoordinates that returns the speed value closest to a mouse coordinate. Sample (abstract) solution:...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online