[Index] [Introduction] [Installation] [Cookbook] [Package] [Component] [Chart] [Axis] [Applet] [Appndx A] [Appndx B] [API]

FRAMES  NO FRAMES   NO FRAMES INDEX


Utilities

GifMaker

GifMaker translates a KavaChart image into a stream of bytes with GIF encoding. This bytestream can be saved on a server, transferred to a clipboard, or copied to any program capable of handling GIF files.

A sample applet that uses this class (gifButton.class) is provided as a valuable utility for generating printable representations of charts. Together with some simple CGI scripts (also provided) this utility will permit any browser to create printable output from KavaChart. We've also provided some installation and use information for this utility.

Internet Explorer versions 4 and 5 will print applets along with HTML text and images. It's also possible to use JDK 1.1's PrintJob class. This permits you to build a user interface in your applet that will trigger a print job from the applet. Since the applet doesn't know anything about it's surrounding HTML context, though, you'll only see information and graphics managed from Java.

For an example of using this print utility, see PrintSample.java in the javachart.standalone package. To use this facility within a browser, you must also "sign" your applet. Consult Netscape's developer pages for an excellent discussion of applet signing. You can find an excellent discussion of Microsoft Authenticode technology and SDKs on Microsoft's developer site at msdn.microsoft.com.


[Index] [Introduction] [Installation] [Cookbook] [Package] [Component] [Chart] [Axis] [Applet] [Appndx A] [Appndx B] [API]