this
.
setDefaultCloseOperation
(
JFrame
.
DO_NOTHING_ON_CLOSE
)
;