Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.


+1 vote
asked in CSC305 Fall 2021 by (2.1k points)

2 Answers

0 votes

Can you provide more a specific context?

answered by (2.1k points)
0 votes

I would compare x and y coordinates for each of the classes. We then did this with a nested for loop. The first loop uses the first course class and the second loop iterates through our course HashMap. we compare x values and if they are the same (on the same day) we then checked the y values to see if they overlapped and if they did we changed the course color to red and added text.

answered by (2.1k points)