Please help. Trying to display a sphere.

I have two classes. One where I read in a file(sphere.obj), do some calculations with the data and the second where I spit it back out as x,y values connected by lines on the screen. I read in the file and multiply its vector info by this matrix
1 0 0 0
0 1 0 0
0 0 0 0
0 0 -1/d 0
And then do another calculation

The point is that its supposed to produce a wire frame sphere but I get a small quarter of a circle in the top left corner of my window. help please.
I need to see the entire thing and make it a lot bigger(to see lines connecting points).

Here is the code:

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

You still need to move the computation code outside of the paint method.
You need to debug your computations to see if they are generating the values you need. One aid is to add println statements to show the values.
What is the relationship between the points in the arrays? Can you add some debug code to search the arrays for max and min values to see if the comps are correct?

You still need to move the computation code outside of the paint method.
You need to debug your computations to see if they are generating the values you need. One aid is to add println statements to show the values.
What is the relationship between the points in the arrays? Can you add some debug code to search the arrays for max and min values to see if the comps are correct?