How to show optionPane after clicking on close cross

Printable View