The Lava system is controlled by two ini files named lava.ini and lava.components.ini which are located in the installation directory. Both these files are ASCII text and can hence be edited by hand to alter the default settings of the system.
The lava.ini file controls all aspects of the Lava system not to do with the JavaBean components you want to work with. This information includes such items as the tab size and code version. The lava.ini file is arranged as a standard Java properties file and can hence be edited by hand using a text editor to produce the required results. An easier way to achieve the same result is to use the Edit\Options menu item which provides a graphical interface to the options availible.
The code options section of the dialog deals with options that alter the way that Lava generates your source code. These options are considered default values and can be altered at generation time using the generation dialog.
Spaces For Tabs | When set to true, this option inserts a number of spaces instead of the tab character to achieve indentation of the source code. When set to false the tab character is used. |
Tab Size | This field represents the size of tab used in number of characters. |
Comment Code | When set to true, this option generates comments in the generated source code, possible making it easier to read. If set to false any comments are quashed. |
Code Version | This field decides which version of source code is produced. If JDK 1.0 is selected, old style methods and event handling will be used so any Applets can function correctly. |
Package Name | The default package name to insert into the code. Leaving this field blank will result in no package information being generated. |
The misc options section of the dialog relates to options that are more to do with the operation of Lava. Changing some values, such as the look and feel, may require you to restart Lava before they take effect.
Show ToolTips | When set to true, this option enables all tooltips to appear over buttons etc. Setting the option to false will disable this which may speed operation on slow machines. |
Default Project Name | By default all projects are named Untitled.lava. This can be changed by altering this option to what you require. |
Undo Buffer Size | The undo buffere size determins how many levels of undo and redo functionality can exist. Altering the size may result in more memory being used by the undo buffers. |
Look And Feel | The look and feel option determins which of the Swing look and feels are used by the system as a whole. |
The lava.components.ini file controls which JavaBean components are loaded into the
toolbox. The file is a number of lines each of which names a component to load. The
component names must have full package information eg. a JButton would be added by
inserting the line java.awt.swing.JButton. Lines can be commented out using the double
slash notation. The order of the lines dictates in which order the componets are loaded
into the toolbox. If a component is not loaded and is specified correctly, an error
occured analysing the component. The lava.components.ini file must be edited by hand
using a suitable text editor.