OK, here is a revised part (still not working):
Here is my full program source
http://www.badongo.com/file/3171822 I have been using BlueJ to write my java program.
Clarification on problem:
I have both m and b all ready.
I need to find the other points (x1,y1)(x2,y2) to draw the line.
So, how do I set up the formulas to work in Java to get the other points (x1,y1)(x2,y2) by using m and b?
[ May 25, 2007: Message edited by: Emmanuel Xoc ]