Method. Waits for a string of characters to appear in the terminal window, and optionally, at a specific row and column. For HP emulators, if you want to wait for a string to appear in the datacomm stream (which may also include non-printing characters such as control characters), use the waitForString or waitForHostPrompt methods instead. For VT emulators, if you want to wait for a string to appear in the datacomm stream (which may also include non-printing characters such as control characters), use the waitForString method instead.
Form 1: public boolean waitForDisplayString(String inString, long timeout) Form 2: public boolean waitForDisplayString(String inString, int inRow, int inCol, long timeout)