Index: trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/Layer.java	(revision 9843)
+++ trunk/src/org/openstreetmap/josm/gui/layer/Layer.java	(revision 9844)
@@ -505,11 +505,12 @@
     public void projectionChanged(Projection oldValue, Projection newValue) {
         if (!isProjectionSupported(newValue)) {
+            String message = "<html><body><p>" + tr("The layer {0} does not support the new projection {1}.", getName(), newValue.toCode()) + "</p>" +
+                    "<p style='width: 450px;'>" + tr("Supported projections are: {0}", nameSupportedProjections()) + "</p>" +
+                    tr("Change the projection again or remove the layer.");
+
             JOptionPane.showMessageDialog(Main.parent,
-                    tr("The layer {0} does not support the new projection {1}.\n"
-                            + "Supported projections are: {2}\n"
-                            + "Change the projection again or remove the layer.",
-                            getName(), newValue.toCode(), nameSupportedProjections()),
-                            tr("Warning"),
-                            JOptionPane.WARNING_MESSAGE);
+                    message,
+                    tr("Warning"),
+                    JOptionPane.WARNING_MESSAGE);
         }
     }
Index: trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 9843)
+++ trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 9844)
@@ -128,6 +128,6 @@
 
         if (isReprojectionPossible()) {
-            appendix = ". " + tr("JOSM will use EPSG:4326 to query the server, but results may vary "
-                    + "depending on the WMS server");
+            appendix = ". <p>" + tr("JOSM will use EPSG:4326 to query the server, but results may vary "
+                    + "depending on the WMS server") + "</p>";
         }
         return ret.substring(0, ret.length()-2) + appendix;
@@ -139,8 +139,8 @@
 
         if (!isProjectionSupported(newValue)) {
-            String message = tr("The layer {0} does not support the new projection {1}.\n"
-                    + " Supported projections are: {2}\n"
-                    + "Change the projection again or remove the layer.",
-                    getName(), newValue.toCode(), nameSupportedProjections());
+            String message =
+                    "<html><body><p>" + tr("The layer {0} does not support the new projection {1}.", getName(), newValue.toCode()) +
+                    "<p style='width: 450px; position: absolute; margin: 0px;'>" + tr("Supported projections are: {0}", nameSupportedProjections()) + "</p>" +
+                    "<p>" + tr("Change the projection again or remove the layer.");
 
             ExtendedDialog warningDialog = new ExtendedDialog(Main.parent, tr("Warning"), new String[]{tr("OK")}).
