Part A: This question is to be submitted to the instructor in the form of a Word (or Open
Office) document containing the Java code and appropriate screen capture(s) of the output.
The file name must be in the form ASSIGN5A_YourName where ‘YourName’ is your last
name followed by your first name with no space. Upload the file to CMS.
Question 15.5 (Page 621)
Show the program working for the following combinations:
Amount Years Rate
#1 10000 4 3.25
#2 8500 10 2.75
#3 5000 20 4.39
Question 15.23 (Page 624)
Show three running versions of the program in a single screen shot with 3 different size
stop signs.
Part B: Write code and test the solutions for the following problems from the textbook.
Question 15.3 (Page 621) MODIFICATION – Make the circle a red filled circle. Add 4 buttons
below the Left-Right-Up-Down buttons with Red and any three other colours. When the user
clicks on the colour button, the fill colour of the circle must change correspondingly.
Question 15.7 (Page 622) MODIFICATION - The program uses black as the default fill colour and white when the mouse button is depressed. Add the following additional combinations:
User Interaction Colour
Nothing BLACK
Depress-Mouse WHITE
Depress-Mouse + ALT RED
Depress-Mouse + CTRL GREEN
Depress-Mouse + SHIFT BLUE
10 years ago
Purchase the answer to view it

- marchrinfinity.zip