applet viewer
 
 
 
 
  Applet Viewer

In this section, the reports generated on the server side will be viewed using simple Swing applets.

These applets make use of the core functionality of the JasperReports library that has to do with report viewing, which comes in a special JAR file called jasperreports-applet-x.x.x.jar.

But first, you have to make sure your browser supports Swing applets.

You can run Swing applets in any browser that has the appropriate version of Java Plug-in installed. Other options are to use a JDK 1.1-compliant browser that can find the Swing classes, or to use a 1.2-compliant browser. For information on setting up 1.1-compliant browsers to work with Swing, see Make Your Browser Swing, an article in The Swing Connection.

Click here, to test whether your browser can run Swing applets or not.

You should see a box that looks like the following:

Click this figure to run the applet.
This is a picture of the applet's GUI. To run the applet, click the picture. The applet will appear in a new browser window.


If your browser passed the above test and you are able to run Swing applets with it, then you are ready to test the following JasperReports sample applets.

Embedded Viewer Applet Printer Applet


 



Copyright © 2001-2009 Jaspersoft Corporation www.jaspersoft.com