ECE 373 · Fall 2025 · University of Arizona

Personal Planner

A Java desktop planner that keeps tasks, events and a calendar in one app, built as an exercise in object-oriented architecture.

  • Java
  • Swing
  • Design Patterns
  • PostgreSQL
  • JUnit
  • UML
  • LaTeX

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.

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 fixed2
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?