Recognition with the Java Connector
Advanced Recognition Methods
Order of Declared Pages
Please note that the order in which pages are declared is significant. For more information, see Order of Declared Pages
Subpages
For information on subpages and when to use them, see Subpages
Recognition of Application and Root Pages
The Java connector listens to the desktop to detect the opening of root Java components (children of the desktop).
-
It looks for the first declared Java application whose criteria match.
-
If it finds one, it looks for the first declared root page whose criteria match. If a corresponding root page is found, the connector associates the new root Java component with that root page, and a LOAD event notification is issued for the page.
-
Otherwise, it ignores the root Java component.
Subpage Recognition
The Java connector implements the concept of subpages (see Declaring a Page).
Java subpages can be created from the main page components (see Capture a Subpage).
As soon as a page is recognized, the Java connector tries to recognize each of its subpages. This recognition is performed in the subtree of the component targeted by the page. That means you must pay attention to the page-subpage relationship when declaring pages.
Example:
-
a pMainWindow Page to target the main window (required)
-
a pChildWindow as a subpage of pMainWindow, to target the child window