Setting J/Direct Call Builder Options

Visual J++ allows you to set two options to customize the functionality of the J/Direct Call Builder.

To set J/Direct Call Builder options

  1. On the Tools menu, click J/Direct Call Builder Options.

  2. In the J/Direct Call Builder Options dialog box, select or clear the following options:
    Option Description
    Show Target window when copy to target Selected by default. When you insert a J/Direct call into your class, the builder automatically opens the .java file in the Text editor, if it is not already opened.
    Disable stack crawl security check Cleared by default. The VM will initiate a stack-based security check for each J/Direct call. If any of the callers on the stack are not fully trusted, then a security exception is thrown and the J/Direct call will not be invoked. This mainly affects Java code deployed on Web pages.

    When you select this option to disable the security checks, the @security(checkDllCalls=off) tag is automatically added to your class the next time you insert a J/Direct call. (If you later clear this option, any existing occurrences of the @security tag remain in your files, but no new instances will be added.)


  3. Click OK to save your settings.