if(yes){ frameObj.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); }else{ frameObj.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)