< prev index next >
src/org/netbeans/jemmy/operators/JFrameOperator.java
Print this page
*** 101,111 ****
* @param env an operator to copy environment from.
* @see ComponentOperator#isCaptionEqual(String, String, boolean, boolean)
*
*/
public JFrameOperator(String title, int index, Operator env) {
! this(new FrameByTitleFinder(title, env.getComparator()), index, env);
}
/**
* Constructor. Waits for the frame with "title" subtitle. Uses current
* timeouts and output values.
--- 101,113 ----
* @param env an operator to copy environment from.
* @see ComponentOperator#isCaptionEqual(String, String, boolean, boolean)
*
*/
public JFrameOperator(String title, int index, Operator env) {
! this(new JFrameFinder(new FrameByTitleFinder(title,
! env.getComparator())),
! index, env);
}
/**
* Constructor. Waits for the frame with "title" subtitle. Uses current
* timeouts and output values.
< prev index next >