Hello,
at the moment i’m developing a simple jogl famework for my application
which has a java editor embedded.
The java code in my application can be compiled dynamically to a class.
In this class you can create a main method which makes the GL context available.
main(GL gl){
…
…
}
This main method then if it is compiled is called from the regular display method
inside the application and works fine so far.
The problem is that the display freezes if a failure occurs in the main method.
My question is how can i make the execution of the main method more stable to prevent that the 3d display freezes.
Any help or suggestion is appreciated