Login  Register

Re: Some issues using NEWT

Posted by ac on Feb 19, 2012; 2:09pm
URL: https://forum.jogamp.org/Some-issues-using-NEWT-tp3757230p3758077.html

> Since I will head down south now (bedtime), allow me to just link you
> to the Applet magic which uses NewtCanvasAWT and hooks up any GLEventListener:
> <http://jogamp.org/git/?p=jogl.git;a=tree;f=src/newt/classes/com/jogamp/newt/awt/applet;hb=HEAD
> <http://jogamp.org/git/?p=jogl.git;a=blob;f=src/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java;hb=HEAD

Thanks for your reply. I see that in both cases the Newt canvas is added to the Applet object, so in this sense it it similar to what I do. However, the problem is that in Processing the applet is further contained within a frame. Perhaps this is causing the framerate issues...

> This works well on any OSX version so far (latest master, upcoming RC6)
> and ofc the other platforms.

Ok, I will run my tests again using the master.