Changeset 103 in josm for src/org/openstreetmap/josm/gui/MapFrame.java
- Timestamp:
- 2006-07-01T00:56:23+02:00 (20 years ago)
- File:
-
- 1 edited
-
src/org/openstreetmap/josm/gui/MapFrame.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/gui/MapFrame.java
r101 r103 32 32 import org.openstreetmap.josm.gui.dialogs.SelectionListDialog; 33 33 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 34 import org.openstreetmap.josm.gui.layer.Layer;35 34 36 35 /** … … 69 68 * @param layer The first layer in the mapView. 70 69 */ 71 public MapFrame( Layer layer) {70 public MapFrame() { 72 71 setSize(400,400); 73 72 setLayout(new BorderLayout()); … … 75 74 final AutoScaleAction autoScaleAction = new AutoScaleAction(this); 76 75 add(mapView = new MapView(autoScaleAction), BorderLayout.CENTER); 77 mapView.addLayer(layer);78 76 79 77 // toolbar
Note:
See TracChangeset
for help on using the changeset viewer.
