Index: /trunk/src/org/openstreetmap/josm/gui/MainMenu.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/MainMenu.java	(revision 6087)
+++ /trunk/src/org/openstreetmap/josm/gui/MainMenu.java	(revision 6088)
@@ -251,5 +251,5 @@
     public final JMenu helpMenu = addMenu(marktr("Help"), KeyEvent.VK_H, 11, ht("/Menu/Help"));
 
-    public final int defaultMenuPos = 11;
+    private final int defaultMenuPos = 11;
 
     public final JosmAction moveUpAction = new MoveAction(MoveAction.Direction.UP);
@@ -291,4 +291,12 @@
         }
     };
+    
+    /**
+     * @since 6088
+     * @return the default position of tnew top-level menus
+     */
+    public int getDefaultMenuPos() { 
+         return defaultMenuPos; 
+    }
 
     /**
