Index: /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java	(revision 29100)
+++ /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CacheControl.java	(revision 29101)
@@ -93,4 +93,7 @@
 
     public boolean loadCacheIfExist() {
+        if (!CadastrePlugin.isCadastreProjection()) {
+            CadastrePlugin.askToChangeProjection();
+        }
         try {
             File file = new File(CadastrePlugin.cacheDir + wmsLayer.getName() + "." + WMSFileExtension());
Index: /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java	(revision 29100)
+++ /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java	(revision 29101)
@@ -30,5 +30,7 @@
 import org.openstreetmap.josm.gui.IconToggleButton;
 import org.openstreetmap.josm.gui.layer.Layer;
+import org.openstreetmap.josm.gui.preferences.PreferenceDialog;
 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
+import org.openstreetmap.josm.gui.preferences.map.MapPreference;
 import org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference;
 import org.openstreetmap.josm.plugins.Plugin;
@@ -479,3 +481,16 @@
     }
 
+    public static void askToChangeProjection() { 
+        if (JOptionPane.showConfirmDialog(Main.parent, 
+                tr("To enable the cadastre WMS plugin, change\n" 
+                        + "the current projection to one of the cadastre\n" 
+                        + "projections and retry"),  
+                        tr("Change the current projection"), JOptionPane.OK_CANCEL_OPTION)  
+            == JOptionPane.OK_OPTION) { 
+            PreferenceDialog p = new PreferenceDialog(Main.parent); 
+            p.selectPreferencesTabByClass(MapPreference.class); 
+            p.getTabbedPane().getSetting(ProjectionPreference.class).selectProjection(ProjectionPreference.lambert_cc9); 
+            p.setVisible(true); 
+        } 
+        } 
 }
Index: /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java	(revision 29100)
+++ /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadWMSVectorImage.java	(revision 29101)
@@ -37,5 +37,4 @@
                         if (wmsLayer.grabThread.getCacheControl().loadCacheIfExist()) {
                             Main.map.mapView.zoomTo(wmsLayer.getFirstViewFromCacheBBox().toBounds());
-                            //Main.map.mapView.repaint();
                             return;
                         }
Index: /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java	(revision 29100)
+++ /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java	(revision 29101)
@@ -36,8 +36,5 @@
                     DownloadWMSVectorImage.download(wmsLayer);
             } else {
-                JOptionPane.showMessageDialog(Main.parent,
-                        tr("To enable the cadastre WMS plugin, change\n"
-                         + "the current projection to one of the cadastre\n"
-                         + "projections and retry"));
+                CadastrePlugin.askToChangeProjection();
             }
         } else
Index: /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.java
===================================================================
--- /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.java	(revision 29100)
+++ /applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.java	(revision 29101)
@@ -94,8 +94,5 @@
                 Main.worker.execute(this);
             } else {
-                JOptionPane.showMessageDialog(Main.parent,
-                        tr("To enable the cadastre WMS plugin, change\n"
-                         + "the current projection to one of the cadastre\n"
-                         + "projections and retry"));
+                CadastrePlugin.askToChangeProjection();
             }
         }
