From: Daniel B. <db...@if...> - 2002-03-16 22:33:41
|
Hi all, I trying to get the swing demo files to run under Mac OS X 10.1.3. The gl4java Version is 2.7.2.0. which I downloaded from Gerard Ziemski page. At the moment, these demos and all the other examples that I found which make use of either GLAnimPanel or GLJPanel produce the follwing exception: An exception is thrown, while creating a GL context java.lang.ClassCastException: com.apple.mrj.internal.awt.basepeers.VContainerPeer java.lang.ClassCastException: com.apple.mrj.internal.awt.basepeers.VContainerPeer ...etc... I have no clue whether this is a problem of apple's java implementation or of gl4java. I would really like to include some opengl functionality in my visualization program which makes heavy use of swing. For this reason I appreciate any tips and tricks how to get gl4java and swing to work under Mac OS X. Thanks in advance! Daniel |