title: Changing the default window close behaviour of JasperReports viewer to hide or dispose instead of exit
body: <p>I'm using <code>NetBeans</code> and <code>JasperReports</code> to generate report. The report gets generated but when I close the Report viewer window it exits my program /application. I want the Report window to be either disposed or hidden. </p>
  
  <p>Is there any way using which I can achieve this?</p>