Changes:
- Added color field and methods (including generateRandomColor) to Event
Changes:
- changed DayView to JLayeredPane
- changed DayView Layout to OverlayLayout
- Overrode the DayView paint function to draw a rectangle on top of the DayView table (it works!)
Changes:
- Added Event drawing functionality to DayView
- Added a bunch of sample Events for testing this functionality
- Added the ability for long event names to get trimmed in the display window

Still to-do:
- Handle events that start before the day begins and/or end before it finishes
- Fix the issue where scrolling erases all the rectangles
- Integrate this functionality with actual retrieved and sorted events
Scroll will now repaint on adjustment, new issue with painting events
The date checks are in place, just not to sure what to do with them
Added a method to the end that returns true if a cell is visible to the user or false if the cell isn't within view
Changes:
- Moved a large majority of rendering functions to the new DayViewTable class
- Fixed the scrolling glitches that have been occuring
- Added a method to convert Calendar to DateInfo for easier comparison between the two.
- Added a comparison method between DateInfo objects
- Replaced black borders and text with a darker variation each Event's color.
Removed a lot of uneeded imports/listeners that no longer are needed
Changes:
- Rounded the rectangles
- Increased indent for the overlapping events
Added a timer mouse motion listener that will be used for tooltip displaying event information
EventRectangle class added
Began to implement the SortEvents method. I'll be working more on it tomorrow.
Changes:
- Converted DayViewTable to use EventRectangles
- Fixed an inclusion bug in EventRectangle
- Fixed an incorrect comment in DateInfo
Testing to see if on mouseover we can show correct tooltip
Expanded a little bit on the tool tip displays, now showing event name and descriptions with some word wrapping.
Added basic functionality to the SortEvents method. The method now sorts the events in alphabetical order. I am currently working on adding date-sorting functionality.
Changes:
- Added new constructor to EventRectangle that only takes Event
- Fixed a glitch where EventRectangles weren't updating boundaries when they should.
Retrieving events for updating the day view, small changes to prompt DayViewTable within DayView, fixes within the event editor to create the event correctly, added personal event retrieval functions and added a fix to DateInfo's toString to correctly display month (thx Connor)
1. Fixed some small issues with DateInfo's toString method. Month and day numbers should be represented properly now.
2. Added sorting by both start and end times to the SortEvents class. Moved sorting by event name to the lowest priority.
Audits and Refactoring

Comments added and revised in many files.
Refactoring in EventModel:
- UserId -> UserName
- getTeamEvents -> getAllEvents

Peter helped.