Index: /applications/editors/josm/plugins/ext_tools/build.xml
===================================================================
--- /applications/editors/josm/plugins/ext_tools/build.xml	(revision 25932)
+++ /applications/editors/josm/plugins/ext_tools/build.xml	(revision 25933)
@@ -33,5 +33,5 @@
 	<property name="commit.message" value="show error if script cannot be executed" />
 	<!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-	<property name="plugin.main.version" value="3835" />
+	<property name="plugin.main.version" value="4065" />
 
 
Index: /applications/editors/josm/plugins/ext_tools/src/ext_tools/ExtTool.java
===================================================================
--- /applications/editors/josm/plugins/ext_tools/src/ext_tools/ExtTool.java	(revision 25932)
+++ /applications/editors/josm/plugins/ext_tools/src/ext_tools/ExtTool.java	(revision 25933)
@@ -114,5 +114,5 @@
         ProjectionBounds bounds = Main.map.mapView.getProjectionBounds();
         return Main.map.mapView.getWidth() /
-                (bounds.max.east() - bounds.min.east());
+                (bounds.maxEast - bounds.minEast);
     }
 
