JIG Browser Options


Select Options to display the interactive JIG Browser Options window. Options are loaded from "jig.properties" upon JIG startup. They are stored in JIG and saved to jig.properties each time the View Options OK button is clicked. Click Cancel to leave the Options dialog without saving options. Click Help to view this "Options" information. 

The values of these options should be modified following the recommendations for each option as specified here. When option modification is complete, click the "OK" button to save the new options to the "jig.properties" file and enable the new options for the current session. 



HTML Browser


The absolute path and name of the HTML Browser to use with JIG. The default value for Windows 9x and NT systems is: 

C:\Program Files\Plus!\Microsoft Internet\Iexplore.exe 

When you click OK on JIG Browser Options, JIG will attempt to locate the HTML Browser and, if found, enable HTML Browser menu choices (selections: File HTML Browser and Help Documentation). Each time JIG is loaded it will attempt to locate the HTML Browser and, if found, enable the related HTML Browser menu options.



Imports


The Java import statements used during class generation with the File Evaluation operation. For example, if you are using the java.util.StringTokenizer class in your Evaluation code fragment, you must include "java.util.*" in order for the code to compile successfully. Add the package.* name without quotes to the "Imports:" field, leaving spaces between package references.



Optional CLASSPATH


Provide a specific CLASSPATH to be used during runs, debugs, documents and compiles. Environment variables cannot be used, all references must be explicit.


If no Optional CLASSPATH is specified, all runs, debugs, documents and compiles will use the current Java System value for classpath (Java.classpath) for the current JIG Browser session. This value can be viewed in the Help About System Properties window.


To set the JIG Browser session classpath, include the CLASSPATH environment variable on the JIG startup command line, e.g. (in Windows), 

C:\JIG\Jre\1.1\bin\jrew.exe -cp lib\jig.jar;%CLASSPATH% BrowserView 



Destination directory 


This is the location for the compiler to place compiled ".class" files. The contents of this field are passed with a "-d" option to the compiler. If this field is blank, the destination defaults to the current package directory.



Applet Viewer options 


These are the options supplied to the applet viewer program when it is invoked with the File Applet Viewer operation. See the Tool documentation for the applet viewer version you are using for specific options. (See also, "Other options," appletViewer, below.



Compile options


These are the options supplied to the compiler program when it is invoked with the File Compile operation. See the Tool documentation for the compiler version you are using for specific options. (See also, "Other options," compiler, below.



Debug options


These are the options supplied to the debugger program when it is invoked with the File Debug operation. See the Tool documentation for the debugger version you are using for specific options. (See also, "Other options," debugger, below.



Java options


These are the options supplied to the Java interpreter program when it is invoked with the File Run operation. See the Tool documentation for the Java interpreter version you are using for specific options. (See also, "Other options," Java interpreter, below. 



Document options


These are the options supplied to the documentation utility program when it is invoked with the File Document operation. See the Tool documentation for the Java documentation utility version you are using for specific options. (See also, "Other options," documenter, below.



Transcript


This checkbox selects whether a single Transcript or individual process windows will be used for each run, compile and document operation. If checked, the Transcript is used.



Auto Save


This checkbox selects whether the JIG Browser will automatically save the contents of the Browser editor whenever another package, class or method is selected. Auto Save does not work when the user selects menu options that might change the Browser editor contents, for example, Source New Method. If checked, Auto Save is used.



Suggest Updates


This checkbox turns on reference browser update suggestions. A reference browser is one of the Callers, Methods, References or Stack Trace Browsers. A reference browser is created as a snapshot of information existing at a point in time. This information is static but the contents of your source files change as you continue development. The reference browser can detect certain kinds of changes occurring in other Browsers and can suggest on the title bar of the browser that you perform an update on the Browser. An example of the suggestion looks like this, "References to Integer, … update?". To update the Browser, in the Browser menu select, again, the type of Browser this is, no highlighting of text is necessary. In the example, you would select Browse References without any highlighted text.


Format spacing


The number of spaces to use in an indentation by the Edit Format operation. 



Other options


Select the option you want to modify in the choice box then click "Modify." If you want to review the option value only or have made a change to the option value that you want to discard click "Cancel." To save the new option value click "OK." Option values do not take effect until the JIG Browser Options "OK" button is clicked. "Other options" include: 


appletViewer, the applet viewer to run with the File Applet Viewer command ("appletViewer" by default). This option is useful if you work in different versions of Java, supply the absolute path and filename for the version of the binary to run. 


compiler, the compiler to run with the File Compile command ("javac" by default). This option is useful if you work in different versions of Java, supply the absolute path and filename for the version of the binary to run.


countryCode, "US" by default. Given that a locale file exists for the country code value, supply the country code, click "OK" to write the jig.properties file then exit JIG and restart JIG for the new locale file to take effect.


debugger, the debugger to run with the File Debugger command ("jdb" by default). This option is useful if you work in different versions of Java, supply the absolute path and filename for the version of the binary to run.


documenter, the documentation utility to run with the File Document command ("javadoc" by default). This option is useful if you work in different versions of Java, supply the absolute path and filename for the version of the binary to run.


grep, the name of the grep program to use for the Browser matching operations, i.e., References, Callers, Methods, etc. This can be just the grep program name as in "grep32" if the program is on the users execution path, or an absolute path and filename.


interpreter, the Java interpreter to run with the File Run command ("java" by default). This option is useful if you work in different versions of Java, supply the absolute path and filename for the version of the binary to run.


languageCode, "en" by default. Given that a locale file exists for the language code value, supply the language code, click "OK" to write the jig.properties file then exit JIG and restart JIG for the new locale file to take effect. 


system[0 - 9], these are special options that change the behavior of JIG to offset problems encountered on specific platforms. Do not set these options unless instructed to do so in the JIG Release Notes for your platform.



Package Root Directory 


This is the root directory of the Java packages for Browser navigation. The user chooses an alternate root directory path by selecting the alternate directory in the choice box. When in a system browser, if you change the View Options User Directory to a different package root directory, then click OK on the View Options Dialog, that system browser will be updated with the packages from that new root directory. The new User Directory will be saved to the jig.properties file and any future system Browsers will use that new root location. If in any other kind of browser (References, Class, Hierarchy, etc.) when changing the View Options User Directory, and clicking OK, no update on the current browser is performed, but the new User Directory will be saved to the jig.properties file and any future system Browsers will use that new root location. 

Alternate root directory paths can be provided by clicking the "Add" button, entering the new root path in the field provided, then clicking "OK." If the path is not valid the new root path will not be added to the list. The current JIG System Browser will be updated to use the new root directory when you click "OK" on the JIG Browser Options window. 

Alternate root directory paths that are no longer needed can be deleted by selecting the root directory in the choice box and clicking "Delete." 
