Reminders

Taking JavaFX seriously
May include traces of Java EE

Originally posted on January 26, 2013
Updated on January 13, 2015

Introduction

Reminders was my attempt at a serious yet fun JavaFX application. It was really popular when it was released due to its many cool features:

  • JPA is used for persistence, together with bean validation to check constraints before persisting an entity.
  • FontAwesome is used for its cool icons. They look great and because they are text, you can easily change their size or color.
  • CSS is used to completely change the look and feel of ListView and Button nodes.
  • It has neat dialog windows. The code for these should be pretty reusable.
  • It includes a location picker written in JavaScript, but seamlessly incorporated into JavaFX thanks to the WebView.
  • It uses JFxtras for its CalendarTextField which, truth be told, works great but looks hella-ugly.

Screenshots

Screenshot

Screenshot

Screenshot

Screenshot

Download

The source code is available on GitHub.

Setup

First you'll need a database to run this application. There are two ways to get one:

  1. In NetBeans, go to the Services window. Under Databases, right-click Java DB and create a new database with the following settings:
    • Name: Reminders
    • Username: APP
    • Password: APP
  2. Create your own empty database and edit persistence.xml to use this database. Make sure you add the correct JDBC driver to the project.

You should now be able to run the application. The database schema will be created upon first use. Once this is done, you can edit persistence.xml to set the table generation strategy to none.

The required libraries are found in the lib folder. You will also need EclipseLink and the Java DB Driver (if you chose option 1), but NetBeans already has those bundled with it.

If you've enjoyed my work or found it helpful, please consider becoming a patron. Your support helps me free up time to work on my books and projects.