KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > swing > JScatterGraph


1 package JSci.swing;
2
3 import java.awt.*;
4 import JSci.awt.*;
5
6 /**
7 * A scatter graph Swing component.
8 * @version 1.3
9 * @author Mark Hale
10 */

11 public class JScatterGraph extends JGraph2D {
12         /**
13         * Constructs a scatter graph.
14         */

15         public JScatterGraph(Graph2DModel gm) {
16                 super(gm);
17                 dataMarker = new Graph2D.DataMarker.Square(3);
18         }
19 }
20
21
Popular Tags