logo CodeStepByStep logo


Modify your ShowDesign class from the previous problem into a new class ShowDesign2 that has a method named ShowDesign that accepts parameters for the window width and height and displays the rectangles at the appropriate sizes. For example, if your ShowDesign method was called with values of 300 and 100, the window would look like the following figure.

Java DrawingPanel close maximize minimize
expected output
Class: Write a complete C# class.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.