>>424
JFrame#setDefaultCloseOperation(int)