Comment indicators were used to disable the call to the setDefaultCloseOperation method as shown in Listing 2.
This code was replaced by code that you will see later
Listing 2. Disabled the call to setDefaultCloseOperation method. |
---|
/*Disabled by Baldwin on 5/15/12 pictureFrame.setDefaultCloseOperation( JFrame.DISPOSE_ON_CLOSE); */ |
File: am.htm | [Next] | [Prev] |