Rendering A Rotatable Globe

I need some help for a project im working on, i want to make a 3D rotating globe, at the moment i am using a pixel array for my rendering, i would like to keep it like that, but i am not sure how to make the 3D globe with a pixel array. My Bitmap class


public class Bitmap {

	public final int width;
	public final int height;
	public int[] pixels;

	public Bitmap(int width, int height) {
		this.width = width;
		this.height = height;
		pixels = new int[width * height];
	}

I need some help to make a rendering method for the globe.

My template here might get you started:
http://www.java-gaming.org/topics/templates/27910/msg/252170/view.html#msg252170