added an exit button and we are now packing the jframe