Purpose This assignment introduces you to the acm.graphics package which we will be using to create graphics
Question:
Purpose This assignment introduces you to the acm.graphics package which we will be using to create graphics and animation. You'll see an example and then modify it to create shapes on the screen where the user clicks. This code practices math operators and if logic.
2 Program Description Modify the StampIt.java file to do a program that draws graphics on the screen as the user clicks.
Your program will: center the rectangle at the (x,y) point where the user clicked
display a different rectangle fill color in each of the four quadrants prevent the rectangle from going off the edge of the screen 3 Style Requirements for all Projects Use comments at the top that list your name and a program description Use comments to describe variables Use comments to describe major computations Code within a block { } is indented Page 2
Basic Marketing A Marketing Strategy Planning Approach
ISBN: 978-0078028984
19th edition
Authors: William D. Perreault Jr., Joseph P. Cannon, E. Jerome McCarthy