GLWindow window = GLWindow.create(caps);
Dimension canvasSize = new Dimension(width, height);
// Use the newt/awt bridge to allow us to use swing gui elements
// and the fast rendering capabilities of NEWT
this.canvas = new NewtCanvasAWT(window);
// create an animator to animated the canvas
this.animator = new FPSAnimator(window, FPS, true);
I have't used maven ever, will be very glad if someone converts it to maven project
Is there any problem with newtcanvasawt?
The baseclass for all demo is at test\newt\newtframe.java,
You can check there , the way I created display. I havt used glwindow alone. Is there any better way??
The project builds but none of the demos run. The way you load source files in the demo is impossible to make work if you package the jogl-twl as a jar file (as it should be IMHO). So you probably need to invent some other way to include the source files.
Anyway, it's a start if you want to go down the maven way. Which I think you should if you want other people to use the library.