Changes between Version 19 and Version 20 of GoodCodeExamples


Ignore:
Timestamp:
05/20/09 16:42:37 (16 years ago)
Author:
meddle
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GoodCodeExamples

    v19 v20  
    9595                                                WindowConstants.DO_NOTHING_ON_CLOSE); 
    9696}}} 
     97  but again it is advisable to use variables, something like: 
     98                                int closeOperation = WindowConstants.DO_NOTHING_ON_CLOSE; 
     99                                res.setDefaultCloseOperation(closeOperation);