Hi Greg, > Perhaps. But what might an application do with such information? If an > application needs JNLP features, shouldn't it simply attempt to use the JNLP > APIs, and gracefully handle any exceptions thrown when it has not been > launched via Web Start? Ok, but as you know usually i try to handle most common cases ... and in this case many apps running from Web Start could need something like this.
For example I'm thinking at my code (for a next release demo) of Preferences, where I'll have a generic class, and a sort of Factory that depending ion the environment where the code runs, instantiate different implementations of preferences (PreferencesFileSystem, PreferencesWebStart, etc). And a minimal version of this could be a static boolean field be set at the end of the previous block of code (only in DesktopApplicationContext, but ok for the moment), and a getter ... Bye
