Sorry, closeAllEditors is working. I tested a deployed version which has not the special JRE for udig. That's the reason I get the error.
Best regards, Johan de Koning -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Johan C. de Koning Sent: Thursday, April 06, 2006 2:54 PM To: 'User-friendly Desktop Internet GIS' Subject: [udig-devel] Close Map by Code Hello, How can I close a map inside my code? When I switch from a perspective I want the map to be closed. Hope somebody has a solution. Using closeAllEditors is not working correctly. When using this method I get an error like java.lang.NoClassDefFoundError: javax/media/jai/util/Range Met vr. gr, Johan de Koning _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel _______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
