From: Kenneth B. R. <kbr...@al...> - 2002-06-04 15:25:39
|
> hi, i've been trying different ways of swapping one type of GLCanvas in an > application for another. Here's the current problem - after removing a > GLAnimCanvas from the a JPanel and then adding it again, the program never > returns from the glj.gljMakeCurrent() method, it just fails silently. The > following bit of code prints "hello" and nothing else, and then the program > is frozen. Have you tried subclassing GLCanvas instead? It has fewer assumptions built into it. |