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.
window JavaMainWin TestAppFollowing is the constant lwLeaveOpen inserted in the header section of the wMainWindow declaration.
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}