arrow_back history picture_as_pdf This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ~~NOTRANS~~ ~~Title: Environment information~~ If you want to know the launch environment of your client application, simply ask the launcher. A launcher always is related to a specific environment, e.g. desktop, mobile, web/html. If your application should behave or look different in different environments, simply check the environment via: <file java> <launcher>.getEnvironmentName(); </file> This command returns DESKTOP if you are using SwingApplication or SwingApplet as launcher. There's no difference if your application runs as Webstart, Applet or Desktop application. Swing is always Desktop environment. There are some useful constants in ILauncher: <file java> ENVIRONMENT_DESKTOP, ENVIRONMENT_WEB, ENVIRONMENT_MOBILE, ENVIRONMENT_HEADLESS </file> A simple way to check the environment is available via UILauncher, e.g. <file java> <uilauncher>.isDesktopEnvironment(); </file> \\ **<fs 20px>Attention</fs>** If you use JVx' DBSecurityManager, be aware that it checks ENV_ columns. If your WORKSCREENS table contains the column ENV_DESKTOP (values: Y, N) the security manager ignores all screens that don't fit your client environment. It's very easy to configure one screen for different environments without chaning role assignments.