Index: src/org/openstreetmap/josm/gui/MapFrame.java
===================================================================
--- src/org/openstreetmap/josm/gui/MapFrame.java	(revision 101)
+++ src/org/openstreetmap/josm/gui/MapFrame.java	(revision 103)
@@ -32,5 +32,4 @@
 import org.openstreetmap.josm.gui.dialogs.SelectionListDialog;
 import org.openstreetmap.josm.gui.dialogs.ToggleDialog;
-import org.openstreetmap.josm.gui.layer.Layer;
 
 /**
@@ -69,5 +68,5 @@
 	 * @param layer The first layer in the mapView. 
 	 */
-	public MapFrame(Layer layer) {
+	public MapFrame() {
 		setSize(400,400);
 		setLayout(new BorderLayout());
@@ -75,5 +74,4 @@
 		final AutoScaleAction autoScaleAction = new AutoScaleAction(this);
 		add(mapView = new MapView(autoScaleAction), BorderLayout.CENTER);
-		mapView.addLayer(layer);
 
 		// toolbar
