Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Re-work assignment #4 onto a DrawingPanel, again SUBMIT DayGrid.java  Additional Iverson requirements for Bellevue College CS210, Fall 2017:MUST write a method showGrid(graphic, month, year) that

Re-work assignment #4 onto a DrawingPanel, again SUBMIT    DayGrid.java

Additional Iverson requirements for Bellevue College CS210, Fall 2017:

  1. MUST write a method showGrid(graphic, month, year) that produces output, see example above.
  2. You also keep showGrid(month, year) in this Class as an optional overload of the method.
  3. int month is a parameter, must be 1-12 for the twelve months of the year 
  4. int year is a year of the Gregorian calendar (today's European and American standard)
  5. MUST use a method daysInMonth, Exercise #4, page 309, Chapter 4.
  6. showGrid works for any month (1-12), and any year (1900-2100) including leap years.
  7. Program Submission Requirements
  8. Write your own code!!!  All submissions will be processed with JPlag: jplag.ipd.kit.edu (Links to an external site.)Links to an external site.

Suggestion:  Use your logic from the last Assignment, just replace (and remove) the System.out calls with appropriate draw calls from Chapter 3g material.

Don't Miss This ---->>>> Overloaded Methods:  Two or more methods can have exactly the same name (example: .substring) yet have a different parameter list, this goes for constructors too  In this case, we make another showGrid method, but add a Graphic g parameter, so it's obvious which version is used for any particular call to the method name, the parameter list must match (Chapter 3, page 152).

There are many ways to do this for full credit.  Identical solutions here will receive an automatic zero.  Please do your own work, maybe have a little fun, maybe show your artistic license here.

Re-work assignment #4 onto a DrawingPanel, again SUBMIT    DayGrid.java

Additional Iverson requirements for Bellevue College CS210, Fall 2017:

  1. MUST write a method showGrid(graphic, month, year) that produces output, see example above.
  2. You also keep showGrid(month, year) in this Class as an optional overload of the method.
  3. int month is a parameter, must be 1-12 for the twelve months of the year 
  4. int year is a year of the Gregorian calendar (today's European and American standard)
  5. MUST use a method daysInMonth, Exercise #4, page 309, Chapter 4.
  6. showGrid works for any month (1-12), and any year (1900-2100) including leap years.
  7. Program Submission Requirements
  8. Write your own code!!!  All submissions will be processed with JPlag: jplag.ipd.kit.edu (Links to an external site.)Links to an external site.

Suggestion:  Use your logic from the last Assignment, just replace (and remove) the System.out calls with appropriate draw calls from Chapter 3g material.

Don't Miss This ---->>>> Overloaded Methods:  Two or more methods can have exactly the same name (example: .substring) yet have a different parameter list, this goes for constructors too  In this case, we make another showGrid method, but add a Graphic g parameter, so it's obvious which version is used for any particular call to the method name, the parameter list must match (Chapter 3, page 152).

There are many ways to do this for full credit.  Identical solutions here will receive an automatic zero.  Please do your own work, maybe have a little fun, maybe show your artistic license here.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question