Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckerMapMode.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckerMapMode.java	(revision 33248)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckerMapMode.java	(revision 33249)
@@ -34,6 +34,6 @@
     private static final long serialVersionUID = 3442408951505263850L;
 
-    public JunctionCheckerMapMode(MapFrame mapFrame, String name, String desc) {
-        super(name, "junctionchecker.png", desc, mapFrame, Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR));
+    public JunctionCheckerMapMode(String name, String desc) {
+        super(name, "junctionchecker.png", desc, Cursor.getPredefinedCursor(Cursor.CROSSHAIR_CURSOR));
     }
 
Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckerPlugin.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckerPlugin.java	(revision 33248)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/JunctionCheckerPlugin.java	(revision 33249)
@@ -43,5 +43,5 @@
     public JunctionCheckerPlugin(PluginInformation info) {
         super(info);
-        jcMapMode = new JunctionCheckerMapMode(Main.map, "junctionchecking", tr("construct channel digraph and search for junctions"));
+        jcMapMode = new JunctionCheckerMapMode("junctionchecking", tr("construct channel digraph and search for junctions"));
         relationproducer = new RelationProducer(this);
         cXMLReaderMK = new ColorSchemeXMLReader(COLORSCHEMEFILTERFILE);
