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.
Lines in a Java applet are drawn by stating x and y coordinates.
My statement correctly said that lines in Java applets are drawn using x and y coordinates, but did not state that method requires one to specify two sets of x and y coordinates to draw the line.
( z1 draw :ARG1 ( z2 line :location ( z3 applet :mod ( z4 program :name ( z5 name :op "Java" ) ) ) ) :manner ( z6 state :ARG1 ( z7 and :op ( z8 thing :ARG2-of ( z9 coordinate ) :mod ( z10 variable :name ( z11 name :op "x" ) ) ) :op ( z12 thing :ARG2-of ( z13 coordinate ) :mod ( z14 variable :name ( z15 name :op "y" ) ) ) ) ) )