Login  Register

Re: SWT GLCanvas + Curve TextRenderer

Posted by visor.ck on Nov 26, 2012; 8:25pm
URL: https://forum.jogamp.org/SWT-GLCanvas-Curve-TextRenderer-tp4027219p4027237.html

I'm getting some strange "java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Canvas" when i try to add NewtCanvasSWT to my view.
It is strange because i definetly have org.eclipse.swt.widgets.Canvas in my project's classpath.

Creating org.eclipse.swt.widgets.Canvas works fine
        Canvas can = new Canvas(parent, SWT.NONE);

but
        NewtCanvasSWT newtCanvas = NewtCanvasSWT.create(parent, style, null);
causes ClassNotFoundException
               
I used this guide for setting up Eclipse enviorenment
http://jogamp.org/wiki/index.php/Setting_up_a_JogAmp_project_in_your_favorite_IDE#Eclipse_IDE_user_library