I was wondering what the proper method would be for resetting the DisplaySystem when using the JMESwingTest example.
The reason I am asking is because I want to allow a preference window, so the user can change the anti-aliasing. I want to set the following,
DisplaySystem.getDisplaySystem.setMinSample(X);
but as I understand you must do this BEFORE the DisplaySystem is created. So I was thinking that I could somehow destroy the display and recreate it with the new minSamples value and have it be transparent to the user. But what I am unsure of is how that might interfere with the swing canvas. Do I need to reregister the GLcanvas or anything?
Only one way to find out.