Index: /trunk/src/org/openstreetmap/josm/actions/JumpToAction.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/actions/JumpToAction.java	(revision 11299)
+++ /trunk/src/org/openstreetmap/josm/actions/JumpToAction.java	(revision 11300)
@@ -19,6 +19,8 @@
 import org.openstreetmap.josm.data.Bounds;
 import org.openstreetmap.josm.data.coor.LatLon;
+import org.openstreetmap.josm.gui.ExtendedDialog;
 import org.openstreetmap.josm.gui.MapView;
 import org.openstreetmap.josm.gui.widgets.JosmTextField;
+import org.openstreetmap.josm.gui.widgets.SelectAllOnFocusGainedDecorator;
 import org.openstreetmap.josm.tools.GBC;
 import org.openstreetmap.josm.tools.ImageProvider;
@@ -112,4 +114,9 @@
         url.getDocument().addDocumentListener(new OsmURLListener());
 
+        SelectAllOnFocusGainedDecorator.decorate(lat);
+        SelectAllOnFocusGainedDecorator.decorate(lon);
+        SelectAllOnFocusGainedDecorator.decorate(zm);
+        SelectAllOnFocusGainedDecorator.decorate(url);
+
         JPanel p = new JPanel(new GridBagLayout());
         panel.add(p, BorderLayout.NORTH);
@@ -127,19 +134,14 @@
         p.add(url, GBC.eol().fill(GBC.HORIZONTAL));
 
-        Object[] buttons = {tr("Jump there"), tr("Cancel")};
+        String[] buttons = {tr("Jump there"), tr("Cancel")};
         LatLon ll = null;
         double zoomLvl = 100;
         while (ll == null) {
-            int option = JOptionPane.showOptionDialog(
-                            Main.parent,
-                            panel,
-                            tr("Jump to Position"),
-                            JOptionPane.OK_CANCEL_OPTION,
-                            JOptionPane.PLAIN_MESSAGE,
-                            null,
-                            buttons,
-                            buttons[0]);
-
-            if (option != JOptionPane.OK_OPTION) return;
+            final int option = new ExtendedDialog(Main.parent, tr("Jump to Position"), buttons) {{
+                setContent(panel);
+                setCancelButton(2);
+            }}.showDialog().getValue();
+
+            if (option != 1) return;
             try {
                 zoomLvl = Double.parseDouble(zm.getText());
