Is there way to find out if Java is running on a platform which supports windowing of any kind? I know that you could possibly figure it out by reading in the environment variables, but that might prove to be rather difficult with all the possible combinations.