|
> Overview |
|
Last
revision of this document: |
In
the tutorial for developing a fat-client with Java, icons and text
(for labeling fields or buttons of the GUI) are not defined within
the application but are stored in external files.
This allows to
define text-elements for different languages outside the application
code (externalized text).
The biggest advantage of this decision
is, that the application can be adapted for any language without
making changes to the code.
Also language-specific icons can be
created outside the code.
To separate files containing the
application program from icons and text-elements for different
languages, different directories are created relative to the
directory containing the files with the application (usually in *.JAR
format).
None;
this document accompanies the development of a fat-client with
Java (Develop a Fat-Client in Java) and
explains the content of directories underneath the directory with
the JAR-files containing the application.
Directories:|
|
|
Directory
containing the files with the application. ----------- |
|
|
|
Directory
containing the files with parameters for connections to database
or Application-Server. ----------- |
|
|
|
Directory
containing the files with the graphical elements. ----------- |
|
|
|
Directory
containing files with text-elements for the default language. ----------- |
|
|
|
Directory
containing files with text-elements for another language. ----------- |
|
|
|
Directory
containing files with text-elements for a third language. ----------- |
|
File |
Format and Content of file |
|---|---|
|
Connections.xml |
Parameters
necessary to connect to the database and/or the Java Application
Server (JAS). |
There
are no naming conventions for files within this directory.
The
number of files for graphic-elements (mostly Icons) and their
file-name will depend on the application to be developed.
|
File |
Format and Content of file |
|---|---|
|
Errors.xml |
Language-specific
text-elements associated with warnings or errors that can occur
within the application. |
|
DisplayStrings.xml |
Language-specific
text-elements for GUI-elements. |
|
Tasks.xml |
Language-specific
list of selectable Tasks to perform Business-Applications. |
|
Buttons.xml |
Language-specific
text-elements, Icons and default function-keys assigned to
buttons. |
Related
Documents: