I use netbean6.1 to do this work.
public void display(GLAutoDrawable drawable) {
//I want to create a new thread here to draw an object
Thread dt = new Thread(new DrawThread(gl,2),“Thread0”); //create a thread,DrawThread is a class I define
dt.start(); //it never draw
//dt.run(); it drew what I want but the main thread was blocked
//How should I do if I want to view the procedure of drawing an object?
}
help me…