return report;
}
public static void main(final String[] args) throws Exception
{
final PreviewFrame d = new PreviewFrame(getReport());
d.pack();
d.addWindowListener(new WindowAdapter()
{
/**
* Invoked when a window is in the process of being closed.
* The close operation can be overridden at this point.
*/
public void windowClosing(final WindowEvent e)
{
System.exit(0);
}
});
d.setVisible(true);
}