javafx linux

Hi,

I tried to integrate a jogl canvas using GLJPanel in my fx app, however the display is not refreshed.

The 3d display() func is called, but nothing on display but a square not refreshed …

here is the jfx code I used :



package partview;
import javafx.ext.swing.SwingComponent;
import javax.media.opengl.awt.GLJPanel;

import javax.media.opengl.awt.GLCanvas;

/**
 *
 * @author sancelot@free.fr
 */
public class fx3dcanvas extends SwingComponent{
  
    public var jpanel : GLJPanel;
    public var gears : Gears;

public function repaint(){
    jpanel.repaint();
}

override function createJComponent() {
     jpanel = new GLJPanel();
     gears = new Gears();
     jpanel.addGLEventListener(gears);
                 return jpanel;
     }

}

after having a look at console , I have following messages :

Could not enable OpenGL pipeline for default config on screen 0
JOGL/Java2D integration disabled,

if pipeline disabled -> no3d

I do not understand, why it does not work, if I run standalone java gears demo everything goes well.

Probably, I do not use the same jvm , in this case this is the std java platform of my PC, and in the other case the javafx jvm provided with netbeans 6.7.1 platform. but the jogl libs and jar are the latest 2.0