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