GraphicsConfiguration locks up program...
Posted by andrewk1972 on Oct 27, 2024; 10:29pm
URL: https://forum.jogamp.org/GraphicsConfiguration-locks-up-program-tp4043594.html
My program loaded a basic OBJ model. It was working and displayed.
I then expanded it to allow a SWT file dialog to select the model to load.
I couldn't get it to work so I stripped it back (commented out) to back where I started to see what I had wrong...
However, I found that I can no longer display ANY model...!
Moreover, it appears the offending call is:
GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
In the Eclipse debugger, I execute this call but it simply locks up and the program is stuck!
Note that my Java3D demo program that simply lights up a couple of basic objects (no model) works fine. GraphicsConfiguration call is good.
I cleaned the project. No change.
I removed and -recreated the project. No change.
How did this get stuffed up? What am I missing?