# AWT Package

If possible, the JSci.swing components should be used in preference to these.

The LineGraph and LineTrace components provide a bridge between data arrays and line graphs. The LineGraph class displays a data array as a graph, whereas the LineTrace class does the "inverse" operation. It allows the user to sketch a graph which is captured into a data array.

The other graph components provide alternative graph types for displaying data arrays. The 3D graph can be rotated using the mouse.

How do I add titles to my graph components?

Titles can be added by adding java.awt.Label objects to your Layout.

Return to the Developer's Guide contents.