Index: /trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java	(revision 1281)
+++ /trunk/src/org/openstreetmap/josm/data/osm/visitor/MapPaintVisitor.java	(revision 1282)
@@ -678,5 +678,5 @@
                     if(isPolygonVisible(pd.get()))
                     {
-                        drawArea(pd.way, (pd.way.selected || r.selected) ? selectedColor
+                        drawAreaPolygon(pd.get(), (pd.way.selected || r.selected) ? selectedColor
                         : ((AreaElemStyle)wayStyle).color);
                         visible = true;
@@ -773,4 +773,11 @@
         Polygon polygon = getPolygon(w);
         
+        // set the opacity (alpha) level of the filled polygon
+        g.setColor(new Color(color.getRed(), color.getGreen(), color.getBlue(), fillAlpha));
+        g.fillPolygon(polygon);
+    }
+
+    protected void drawAreaPolygon(Polygon polygon, Color color)
+    {
         // set the opacity (alpha) level of the filled polygon
         g.setColor(new Color(color.getRed(), color.getGreen(), color.getBlue(), fillAlpha));
