> 1) Nepouzivej JasperViewer, udelej si vlastni okno a do nej dej
> JRViewer.
> 
> 2) Anebo viz druhy parametr konstruktoru:
> JasperViewer(JasperPrint jasperPrint, boolean isExitOnClose);

A jeste abychom to uzavreli i z hlediska vhodneho designu:

<citace>
The viewer application (JasperViewer) implemented in this class should
be considered more like a demo application that shows how the
net.sf.jasperreports.view.JRViewer component can be used in Swing
applications to display reports. 
...
But you are encouraged to create your own viewer that uses the more
basic visual component implemented by the
net.sf.jasperreports.view.JRViewer class. Feel free to copy what code
portion you might want to keep from the supplied JasperViewer class. 
</citace>

Cili je doporuceno pro realne nasazeni pouzivani JRViewer do vlastniho
okna.

Leos

Odpovedet emailem