tools/Jemmy/JemmyFX/src/org/jemmy/fx/SceneList.java

Print this page

        

*** 45,57 **** GetAction<List<?>> scenes = new GetAction<List<?>>() { @Override public void run(Object... parameters) { LinkedList<Scene> res = new LinkedList<Scene>(); ! Iterator<Window> windows = Window.impl_getWindows(); ! while(windows.hasNext()) { ! res.add(windows.next().getScene()); } setResult(res); } }; try { --- 45,56 ---- GetAction<List<?>> scenes = new GetAction<List<?>>() { @Override public void run(Object... parameters) { LinkedList<Scene> res = new LinkedList<Scene>(); ! for (Window w : Window.getWindows()) { ! res.add(w.getScene()); } setResult(res); } }; try {