Listing 2. Disabled the call to setDefaultCloseOperation method.
/*Disabled by Baldwin on 5/15/12 pictureFrame.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE); */