I have added a new package called
org.xith3d.utility.platformWhat I need from YOU:
When you get the opportunity, please execute the org.xith3d.test.platform.OSInfoTest. It shows up in your test launcher just like all other tests. We believe that we are correctly detecting versions of Linux and Mac OS X but are not detecting the detailed version of Windows at all. Please run this test and verify that it has correctly identified your operating system and version. Please post to the support forum if it fails to correctly identify your OS or if it fails to identify at all and prints a lot of information.For developers:
Its purpose is to centralize information about the few environment specific workarounds necessary to make X3D work. It is not intended as a replacement for the abstract factory pattern in those places that require it; e.g., Canvas3DFactory. Instead, it centralizes all the little workarounds that are likely to be lost as developers come and go. There is frequently a purpose for every wierd line of code we see; however, human nature tends to remove those things we see as unnecessarily complex or annoying.
This package allows us to centralize workarounds and better understand what needs to be tested as platforms evolve over time. The package Javadoc provides further information. Beyond the few SWT workarounds that have already been centralized, this might be a good place to store the HUD z-order index discussed in another thread. If there turn out to be any true Windows Vista bugs, this is the place to centralized that information.