How to Define lwLeaveOpen

This functionality is supported only if you are using the Classic Agent.

Add the constant lwLeaveOpen inside the wMainWindow declaration to instruct the recovery system to leave the Java application open when returning to base state. You must assign this constant to the identifier of the main window of the Java application.

Example

The declaration for the main window of the Java application looks like the following:
window JavaMainWin TestApp
Following is the constant lwLeaveOpen inserted in the header section of the wMainWindow declaration.
Note: The constant lwLeaveOpen is assigned to TestApp, the identifier of the main window of the Java application.
window BrowserChild JavaAWTTestApplet
  tag "Java 1.1 AWT TestApplet"
  
  // The URL of this page
  const sLocation = "…" 

  // The login user name
  // const sUserName = ?

  // The login password
  // const sPassword = ?

  // The size of the browser window
  // const POINT BrowserSize = {600, 400}

  // Sets the browser font settings to the default
  // const bDefaultFont = TRUE

  const lwLeaveOpen = {TestApp}