UIW: xclick did not work 11/13411/1
Calixte DENIZET [Tue, 7 Jan 2014 15:09:31 +0000 (16:09 +0100)]
Change-Id: Iaee08b83b5ac7af72c387cfcf49fdac5d2d3e908

scilab/modules/gui/src/java/org/scilab/modules/gui/bridge/canvas/SwingScilabCanvasImpl.java

index 8704f31..c719258 100644 (file)
@@ -265,9 +265,9 @@ public class SwingScilabCanvasImpl {
 
     public Component createOpenGLComponent(boolean isCanvas) {
         if (isCanvas) {
-            return new GLCanvas();
+            return new SafeGLCanvas();
         } else {
-            return new GLJPanel();
+            return new SafeGLJPanel();
         }
     }