Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/NodeElemStyle.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/NodeElemStyle.java	(revision 4002)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/NodeElemStyle.java	(revision 4003)
@@ -122,4 +122,12 @@
         }
 
+        @Override
+        public String toString() {
+            return "NodeTextElement{" + toStringImpl() + '}';
+        }
+
+        protected String toStringImpl() {
+            return super.toStringImpl() + " hAlign=" + hAlign + " vAlign=" + vAlign;
+        }
     }
 
@@ -452,7 +460,17 @@
     @Override
     public String toString() {
-        return "NodeElemStyle{" + super.toString() +
-                (icon != null ? ("icon=" + icon + " iconAlpha=" + iconAlpha) : "") +
-                (symbol != null ? (" symbol=[" + symbol + "]") : "") + '}';
+        StringBuilder s = new StringBuilder("NodeElemStyle{");
+        s.append(super.toString());
+        if (icon != null) {
+            s.append(" icon=" + icon + " iconAlpha=" + iconAlpha);
+        }
+        if (symbol != null) {
+            s.append(" symbol=[" + symbol + "]");
+        }
+        if (text != null) {
+            s.append(" text=[" + text.toStringImpl() + "]");
+        }
+        s.append('}');
+        return s.toString();
     }
 
Index: /trunk/src/org/openstreetmap/josm/gui/mappaint/TextElement.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/mappaint/TextElement.java	(revision 4002)
+++ /trunk/src/org/openstreetmap/josm/gui/mappaint/TextElement.java	(revision 4003)
@@ -157,9 +157,22 @@
     @Override
     public String toString() {
+        return "TextElement{" + toStringImpl() + '}';
+    }
+
+    protected String toStringImpl() {
         StringBuilder sb = new StringBuilder();
-        sb.append("{TextElement ");
-        sb.append("strategy=");
-        sb.append(labelCompositionStrategy == null ? "null" : labelCompositionStrategy.toString());
-        sb.append("}");
+        sb.append("labelCompositionStrategy=" + labelCompositionStrategy);
+        sb.append(" font=" + font);
+        if (xOffset != 0) {
+            sb.append(" xOffset=" + xOffset);
+        }
+        if (yOffset != 0) {
+            sb.append(" yOffset=" + yOffset);
+        }
+        sb.append(" color=" + Utils.toString(color));
+        if (haloRadius != null) {
+            sb.append(" haloRadius=" + haloRadius);
+            sb.append(" haloColor=" + haloColor);
+        }
         return sb.toString();
     }
