Index: trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java	(revision 5603)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceDialog.java	(revision 5604)
@@ -85,4 +85,13 @@
         // smaller screen than before, this will reset the stored preference.
         this.setMaximumSize( Toolkit.getDefaultToolkit().getScreenSize());
+    }
+    
+    /**
+     * Replies the preferences tabbed pane.
+     * @return The preferences tabbed pane, or null if the dialog is not yet initialized.
+     * @since 5604
+     */
+    public PreferenceTabbedPane getTabbedPane() {
+        return tpPreferences;
     }
 
Index: trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java	(revision 5603)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java	(revision 5604)
@@ -453,3 +453,14 @@
         return gui.getMapPreference();
     }
+    
+    /**
+     * Selects the given projection.
+     * @param projection The projection to select.
+     * @since 5604
+     */
+    public void selectProjection(ProjectionChoice projection) {
+        if (projectionCombo != null && projection != null) {
+            projectionCombo.setSelectedItem(projection);
+        }
+    }
 }
