Example of using the MVC pattern with Swing in an application that manages a list