……漏れはバカかw
staticなフィールドも非staticなメソッドから参照できるだろうが。

で、条件反射でレスしちまったが、
JFrame#setDefaultCloseOperation()でないの?