Trace:
Differences
This shows you the differences between two versions of the page.
jvx:client:gui:environment [2018/02/01 13:36] admin created |
jvx:client:gui:environment [2020/06/08 14:33] (current) cduncan Edited for English grammar (capitalization, punctuation, correct verb conjugation) |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
- | ~~Title: Environment information~~ | + | ~~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 you want to know the launch environment of your client application, simply ask the launcher. A launcher is always related to a specific environment, e.g., web/html, mobile, or desktop. |
If your application should behave or look different in different environments, simply check the environment via: | If your application should behave or look different in different environments, simply check the environment via: | ||
Line 10: | Line 10: | ||
</file> | </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. | + | This command returns DESKTOP if you are using SwingApplication or SwingApplet as launcher. There's no difference if your application runs as webstart, mobile, or desktop application. Swing is always Desktop environment. |
There are some useful constants in ILauncher: | There are some useful constants in ILauncher: | ||
Line 29: | Line 29: | ||
**<fs 20px>Attention</fs>** | **<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. | + | 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 changing role assignments. |