< prev index next >

src/org/netbeans/jemmy/operators/JFrameOperator.java

Print this page

        

@@ -101,11 +101,13 @@
      * @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);
+        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 >