java.lang.IllegalStateException: Cannot change configuration property 'ID' to isc_Window_2 now that component isc_Window_2 has been created.
Window w = new Window();
w.setShowCloseButton(true);
w.setWidth("90%");
w.setHeight("90%");
w.centerInPage();
Canvas.showPrintPreview(new Object[]{printGrid}, null, constants.printPreview(), null, w, constants.print());
What is wrong with above code, what can i do to resolve this problem
Window w = new Window();
w.setShowCloseButton(true);
w.setWidth("90%");
w.setHeight("90%");
w.centerInPage();
Canvas.showPrintPreview(new Object[]{printGrid}, null, constants.printPreview(), null, w, constants.print());
What is wrong with above code, what can i do to resolve this problem
Comment