Alternatively, you can drop the OpenGL stuff from the code and focus on
the awt method.
To do this, delete the complete method
public Component buildOpenGLCameraView(){
....
}
the import statement
// import net.java.games.jogl.*;
and change the main method accordingly:
// Switch between the two lines to select OpenGL or aw display:
Component imagePanel = myCam.buildSwingCameraView();
//Component imagePanel = myCam.buildOpenGLCameraView();
What kind of camera are you using? Pleas let me know, if you get the
code to work.