Question about GLCanvas

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Question about GLCanvas

Kursat Ozer
Hi everyone,

Firstly great work and keep going. Here is what I encountered:

I am developing with JavaFx 2.2 with JDK 8 and I have to use GLCanvas which is from a 3rd party library. Unfortunately they dropped GLJPanel support.

On my search I found NewtCanvasJFX which will be in the next realease. I gave it a try but could not convert GLCanvas to NewtCanvasJFX.  Is there a way to convert GLCanvas to NewtCanvasJFX or add as a child of NewtCanvasJFX  or any workaround, since I have only GLCanvas instance on my hand to use?

Will be much appriciated for the help.

 
Reply | Threaded
Open this post in threaded view
|

Re: Question about GLCanvas

gouessej
Administrator
Hello

Rather ask the developers of the third party library to support NewtCanvasJFX as GLCanvas and NewtCanvasJFX are very different, the former relies on AWT whereas the latter relies on OpenJFX / JavaFX. There is no magic solution to put a GLCanvas into a NewtCanvasJFX.
Julien Gouesse | Personal blog | Website