Personal Planner
A Java desktop planner that keeps tasks, events and a calendar in one app, built as an exercise in object-oriented architecture.
What it is
Personal Planner puts tasks, events and a calendar in one locally hosted Java Swing app. You sort items into nested, color-coded categories, see them as a list or as a weekly or monthly calendar, and get a notification when something is coming up or past due. Everything is stored in PostgreSQL.
At a glance
- Course
- ECE 373, University of Arizona, Fall 2025
- Team
- Three
- Built with
- Java Swing and PostgreSQL
- Refresh
- Restyled in November 2026, architecture unchanged
My team of three built it for ECE 373, and the app was the vehicle for the course's real subject: architecture. The goal was to structure a non-trivial program with classic design patterns, test it with JUnit, document all of it in UML, and keep it maintainable.
Eight patterns, one design
Strategy swaps the calendar views, Observer drives notifications, Repository keeps PostgreSQL behind one interface, and State models sessions and item lifecycles. Composite, Adapter, Chain of Responsibility and Singleton make up the eight.
The team's PlantUML, redrawn in Mermaid: drag to pan, zoom with Ctrl and the scroll wheel or the buttons, or open a diagram full screen.
Starting from use cases
The design began with 26 use cases on one diagram, then one diagram per area carrying the team's notes on how each should behave. Dashed arrows are include relationships.
Team's notes (1)
- ¹ Log In. Requires valid credentials. All other user actions assume an authenticated session.
Team's notes (2)
- ¹ Log In. Requires valid credentials. Successful login enables access to all other system features.
- ² Register Account. Creates new user account. Username/email must be unique.
Team's notes (2)
- ¹ Create Task. Tasks include title, description, due date/time, and optional category assignments.
- ² Delete Task. Requires confirmation before deletion. Removes task from all views and database.
Team's notes (2)
- ¹ Create Event. Events include title, date/time, optional notes, and optional category assignments.
- ² Delete Event. Requires confirmation before deletion. Removes event from all views and database.
Team's notes (3)
- ¹ View Items: tasks and meetings list. Combined list of tasks and meetings. Left-hand sidebar provides category checkboxes for filtering.
- ² Filter by Category: all views. Filter applies to all views. Items display Super-Category color as primary, Sub-Category color as secondary.
- ³ View Weekly Calendar. Calendar views load items for selected time period and apply active category filters.
Team's notes (4)
- ¹ Create Super-Category. Super-Categories can contain tasks, meetings, and Sub-Categories. Each has a name and color.
- ² Create Sub-Category. Sub-Categories can contain tasks and meetings. Must be created under a Super-Category. Each has a name and color.
- ³ Assign Item to Categories. Items can be assigned to a Super-Category (required) and optionally to a Sub-Category under that Super-Category.
- ⁴ Change Category Color. Color changes via Edit use cases. Updates automatically refresh item colors in all views.
Team's notes (5)
- ¹ System clock/scheduler. System Clock/Scheduler periodically scans for items approaching due dates or past-due items.
- ² Generate Upcoming Notification. Scans database for items due soon (within configured time window). Creates notification entry.
- ³ Generate Past-Due Notification. Scans database for items whose due/start time has passed. Creates past-due notification entry.
- ⁴ View Notifications Dropdown. Dropdown in top navigation bar. Shows upcoming and past-due notifications. Each links to its associated item.
- ⁵ Open Item from Notification. Opens associated task/meeting/event detail or edit view. Highlights item in relevant List or Calendar view.
The screens, three ways
Each screen in up to three versions, picked with the toggle in the frame: the team's draw.io mockup, the build we submitted in Fall 2025, and my 2026 refresh. Both builds were rendered for this page from their code on the same demo data, and both follow the site's light or dark theme. The 2025 build only ever had a light theme, so its dark pictures are a forced dark mode made for this page, each color swapped for a dark one of the same hue.
2026: an interface refresh
The Fall 2025 build did what the course asked but looked like a class project: gray default buttons, a solid band of color for every category, and status names shown as NOT_STARTED. In November 2026 I restyled it and left the architecture alone. The three views are still the Strategy classes and the sidebar filters still run through the Chain of Responsibility; only the drawing changed.
The refresh
| Bugs found and fixed | 2 |
|---|---|
| Sample data, no database | --demo |
| Dark theme | -Dplanner.theme=dark |
Colors, fonts and spacing now come from a single theme class. Buttons, cards and tags paint themselves, because the Windows look and feel ignores the background color set on a Swing button, which is why the originals came out gray. A category's color marks its header, its calendar chips and the edge of its cards, with dark text on a light tint of that color. Dates read "Tomorrow · 5:00 PM", statuses read "In progress", and overdue tasks say so.
The restyle turned up two bugs. The unlabeled blue band in the old list view was the group for uncategorized items, built with its name and id swapped, and the content area stayed blank after login until a view was picked. Both are fixed.
I also added two switches. Started with --demo, the app swaps its PostgreSQL repositories for in-memory ones behind the same Repository interface and runs on sample data with no database. Both builds' screens above come from that data: for this page the Fall 2025 build was run on it through its own unchanged screens. Started with -Dplanner.theme=dark, every theme color has a dark counterpart and category tints mix toward the dark surface. Drop-downs and spinners switch to Swing's basic painter there, because the native Windows one draws them light whatever their colors.
What I took from it
The patterns earned their keep after the course. Because the views were Strategy classes and the filters a chain, the 2026 restyle touched only how things are drawn. Because the screens reach the database through the Repository interface, the app could run on in-memory data with no other change. The one screen that skipped that interface, the 2025 category editor, is the one that can't be shown here.
The team report is frank about the rest. Our SQL grew query by query, and each new object type meant another round of rework that more up-front design would have saved. To fit roughly 120 hours across the team we cut a facade, Command-pattern undo and redo, logging, multiple database implementations and the object factories, and swapped sub-category colors for symbols. Our JUnit tests did not make the final build either: with no good way to test the GUI-bound code, the test drivers were removed. Every pattern on paper still costs build time, so rank them before the deadline does it for you.
If I picked it back up, I would bring the tests back first, since the in-memory repositories now let the app's logic run without a database, and route the category editor through the same interface. After that, the database error pop-up from the mockups and the undo and redo we cut are the obvious next features.
Want the details behind this one, or to talk about similar work?









































