Change Notes for the JDLG 1.3.1.0 070621 1607 development snapshot ------------------------------------------------------------------ Enhancement: - In addition to $login, $host and $port, a session's "parameter" and "environment" values in the session configuration file may now be used to resolve a property or environment variable. The $(name) token expands to the value of the specified property or environment variable "name". Please note that depending on the underlying operating system platform the variable name may be case sensitive. For example: SESSIONNAME.environment.0 = HOME=$(USERPROFILE) This passes the HOME variable to the program. The passed value is taken from the USERPROFILE environment variable. On Windows this is kind of the user's home directory. SESSIONNAME.environment.0 = USERNAME=$(USERNAME) This passes the USERNAME environment variable to the program. A property is kind of a variable that is passed to the Java virtual machine through the -D command line option. For example: java -DTEST=1 -jar jdlgS.jar This passes the property TEST with a value of "1" to Java. This could then be passed to a program with: SESSIONNAME.environment.0 = TEST=$(TEST) Please note that Java versions below 1.5 do not recognize environment variables. This means that Java 1.4 requires that a property is set to use an environment variable. Windows example: java -DUSERPROFILE=%USERPROFILE% -jar jdlgS.jar Linux example: java -DHOME=$HOME -jar jdlgS.jar This passes the USERPROFILE (Windows) or HOME (Linux) environment variable to Java so that it can be used in Java 1.4 to be passed to the program, as shown in the examples above. Known problems: - On Windows, EditText objects that are set .sensitive = 0 may not correctly indicate its disabled state (i.e., not being greyed out). This happens due to a bug in Java Swing that unfortunately has not been solved until today (as of Java 1.6). Unfortunately, there is no workaround available in JDLG. For details, please refer to the following Sun Java bug database entries: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5042122 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4883120 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4853457 - If the Window menu has multiple identical entries they are not distinguished. The first entry is always activated regardless which entry is clicked. This has always been a bug in JDLG and will be solved in a future release. Please note: - JDLG 1.3.1 implements a new focus/rule manager. If you encounter any problems with this release we would appreciate if you could send us a problem report to the jdlg@marxmeier.com mail address. Thank you very much.