Did you read the specs for that method then?

The method goes like this

************************************************** ****

public abstract void drawPolyline(int[] xPoints,

int[] yPoints,

int nPoints)Draws a sequence of connected lines defined by arrays of x and y coordinates. Each pair of (x, y) coordinates defines a point. The figure is not closed if the first point differs from the last point.

Parameters:

xPoints - an array of x points

yPoints - an array of y points

nPoints - the total number of points

************************************************** ******************

now, do you mean that i have to put my first column values into xPoints, and second column values into yPoints?

also what is nPoints?