Re: GLJPanel & Java2D
Posted by Xfel on Dec 02, 2010; 4:38pm
URL: https://forum.jogamp.org/GLJPanel-Java2D-tp2001439p2006893.html
Taht's a bit difficult because my application is a utility tool for another program. I'll try:
this is the part where the GLJPanel is created:
preview = new GLJPanel(new GLCapabilities(GLProfile.get(GLProfile.GL2)));
renderer = new SplineRenderer(preview);// this one automatically adds the listeners
preview.setName("preview");
pPreview.add(preview, BorderLayout.CENTER);
all other errors result in the code that comes from JOGL or Java.