On 03/11/2013 04:06 PM, sunnystormy [via jogamp] wrote:
> Hello!
>
> I'm new to the forums and equally new to JOGL. After working at my last gig I
> was encouraged to learn JAVA programming, which naturally led to my exposure
> to JOGL. I was considering the JMonkeyEngine previously, but after learning
> that there's no renderer for desktop OpenGL ES 2.0, I thought JOGL would be
> more appropriate for my needs. :)
>
> Right now, I am in the process of building a very simple JAVA application that
> uses the "RedSquare" demo. The problem I'm having is getting it to display
> within an AWT frame.
>
> I'm assuming that I am to treat the RedSquare class as its own object, but I'm
> having difficulty figuring out how to properly display it within the main
> method of another class.
>
> Any guidance would be appreciated. Thank you for your help in advance!
See Tutorials:
http://jogamp.org/wiki/index.php/Jogl_Tutorial https://sites.google.com/site/justinscsstuff/jogl-tutorial-2Please have a look at JOGL's unit tests,
source code within JOGL's source tree.
jogl/src/test/com/jogamp/opengl/test/junit/**
GearsES2, similar to RedSuareES2, is being demonstrated in a
Newt, AWT, Newt/AWT and Newt/SWT environment:
TestGearsES2NEWT
TestGearsES2AWT
TestGearsES2NewtCanvasAWT
TestGearsES2NewtCanvasSWT
jogl/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/**
Git repo:
http://jogamp.org/git/?p=jogl.git;a=summary http://jogamp.org/wiki/index.php/Jogamp_SCM_Repositories~Sven