Grocery List

A portable JavaFX grocery list capable of syncing items between devices.

This is the main interface. The buttons under 'Options' open sub-interfaces.

JavaFX's file chooser is much more aesthetic than Swing.

After using the print button, this is the prompt that appears.

This grocery list program is installed onto all of my devices and onto my old roommates's devices as well. The main benefit it provides us is that it stays in sync across all devices so that as long as a network exists we can always view the same items. Since we can update it anywhere and on the fly, we no longer double up on groceries that we both need.

The save/load interfaces are handled with FileChooser which opens the screen that most people are already familiar with. The grocery lists are stored and loaded using the Text I/O operations of Scanner and PrintWriter. If the same list is updated elsewhere, a prompt appears to load the updated information.

There is not an easy way to print in Java but can be achieved by using graphics2D. This is achieved by plotting the top-left coordinate position of an image and 'auto-plotting' the position(s) of varying sized lists.