From: <aco...@wa...> - 2001-10-12 10:46:32
|
Hi Sven, Keneth, Max, Hi everybody :) I've been downloading gl4java 2=2E8=2E0=2E5 prerelease and installed the fol= lowing files : gl4java=2Ejar gl4java-glutfonts=2Ejar png=2Ejar GL4JavaGljMSJDirect=2Edll GL4JavaJauGljJNI=2Edll GL4JavaJauGljJNI12=2Edll GL4JavaJauGljJNI13=2Edll All the files are coming from the sourceforge site and are labelled "gl4java 2=2E8"=2E I'm running windows 2000 pro SP2 Whenever I execute the function gljMakeCurrent() I get the following stack trace=2E If I put the function into comment, nothing would display=2E java=2Elang=2EUnsatisfiedLinkError: lockJAWT at gl4java=2EGLContext=2ElockJAWT(Native Method) at gl4java=2EGLContext=2EgljMakeCurrent(GLContext=2Ejava:2364) at OM=2ESceneToolkit=2EOMRenderCanvas=2Edisplay(OMRenderCanvas=2Ejav= a:155) at gl4java=2Eawt=2EGLCanvas=2EsDisplay(GLCanvas=2Ejava:674) at gl4java=2Eawt=2EGLCanvas=2Epaint(GLCanvas=2Ejava:490) at gl4java=2Eawt=2EGLCanvas=2Eupdate(GLCanvas=2Ejava:369) at sun=2Eawt=2ERepaintArea=2Epaint(RepaintArea=2Ejava:194) at sun=2Eawt=2Ewindows=2EWComponentPeer=2EhandleEvent(WComponentPeer=2Ejava:262= ) at java=2Eawt=2EComponent=2EdispatchEventImpl(Component=2Ejava:3561) at java=2Eawt=2EComponent=2EdispatchEvent(Component=2Ejava:3363) at java=2Eawt=2EEventQueue=2EdispatchEvent(EventQueue=2Ejava:448) at java=2Eawt=2EEventDispatchThread=2EpumpOneEventForHierarchy(EventDispatchTh read=2Ejava:193) at java=2Eawt=2EEventDispatchThread=2EpumpEventsForHierarchy(EventDispatchThre ad=2Ejava:147) at java=2Eawt=2EEventDispatchThread=2EpumpEvents(EventDispatchThread=2Ejava:141= ) at java=2Eawt=2EEventDispatchThread=2EpumpEvents(EventDispatchThread=2Ejava:133= ) at java=2Eawt=2EEventDispatchThread=2Erun(EventDispatchThread=2Ejava= :101) This is the code that causes the problem : public void display(){ //Ensure GL is initialised correctly if (!glj=2EgljMakeCurrent())return; //opengGL display code // | // | } I'm very impatient to check out the performance increase from java=2Enio use= =2E Is this a bug or did I forget some init commands ? (the code works smoothly with gl4java 2=2E7=2E2 though) Do you have an idea of a workaround for the bug ? Regards, Alban Cousini=E9 PS : As soon as you can send me max's FAQ, I can start working on it=2E |