Re: Swing application crashing when resizing OpenGL (GLJPanel) window.
Posted by
gouessej on
Dec 09, 2012; 1:01pm
URL: https://forum.jogamp.org/Swing-application-crashing-when-resizing-OpenGL-GLJPanel-window-tp4027441p4027459.html
Hi
mikaelhc wrote
Should I go for JOGL 1.0 instead?
JOGL 1 is no more maintained, completely outdated (it lacks a lot of fixes only present in JOGL 2.0) and we cannot even guarantee it would work on operating systems whose versions appeared after 2009. JOGL 1 is not a mythical bug-free creature ;)
mikaelhc wrote
I'm still struggling with creating a stable code base for visualizing some scientific data (3D molecules).
If you don't succeed in doing it, why not using Ardor3D? You would only have to modify your loader (if you use a particular file format for your molecules) and you would probably not have any problem with JOGL 2.0 except those caused by driver bugs. I worked in a subsidiary of the French institute of the petroleum, I visualized tons of scientific data with JOGL 2.0 in SWT & Swing applications, it's perfectly doable. If I don't find an easy way of fixing your stuff, why not using something higher level?
Edit.: Don't use a JSplitPane, try to use a GLCanvas in an AWT container, not directly a Swing component and it should work.