this
.
setDefaultCloseOperation
(
JFrame
.
EXIT_ON_CLOSE
)
;