How to use graphics in a java applet<br>Use the drawline method of the graphics class. The arguments to the method should be, in order, the first x coordinate, the first y coordinate, the second x coordinate, and the second y coordinate. The line will be drawn from the first x and y to the second.
The first x and y coordinates are not in the same spot.
The system may not know how x/y grids work.