Login  Register

Re: Canvas3D resize problem

Posted by runiter on Feb 22, 2014; 12:15am
URL: https://forum.jogamp.org/Canvas3D-resize-problem-tp4031602p4031679.html

gouessej, do you mean this solution?

if(AppContext.getAppContext() == null){
    SunToolkit.createNewAppContext();
}

I assumed AppContext refers to sun.awt.AppContext.

I just tried it and it didn't work. I also pop a dialog box to show the content of AppContext.getAppContext(). It is never null.
Here you can try:

http://www.runiter.com/webstart/test_gc3/grapher.jnlp
Saeid Nourian, Ph.D. Eng. | Graphing Calculator 3D