@@ -45,13 +45,12 @@ 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()); + for (Window w : Window.getWindows()) { + res.add(w.getScene()); } setResult(res); } }; try {