blob: b698462b8bb386b69da56019ce053cd230bf4eb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
import javax.swing.*;
/*
* @author
* Kian Agheli
*
* References:
*
* Date:
* 2024-05-08
*
* Purpose of class:
* Draw a line graph.
*/
public class LineGraph {
int[][] coordinates; // A line graph has-a set of coordinates
/*
* Constructor.
*/
public LineGraph() {
coordinates = null;
}
/*
* Set a point at a pair of coordinates.
*/
void setCoordinates(int y, int x) {
}
}
|