diff --git a/src/org/openstreetmap/josm/gui/MapStatus.java b/src/org/openstreetmap/josm/gui/MapStatus.java
index e77b576..2984179 100644
|
a
|
b
|
public class MapStatus extends JPanel implements Helpful, Destroyable, Preferenc
|
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | private final ImageLabel latText = new ImageLabel("lat", |
| 185 | | tr("The geographic latitude at the mouse pointer."), 11, PROP_BACKGROUND_COLOR.get()); |
| | 185 | null, 11, PROP_BACKGROUND_COLOR.get()); |
| 186 | 186 | private final ImageLabel lonText = new ImageLabel("lon", |
| 187 | | tr("The geographic longitude at the mouse pointer."), 11, PROP_BACKGROUND_COLOR.get()); |
| | 187 | null, 11, PROP_BACKGROUND_COLOR.get()); |
| 188 | 188 | private final ImageLabel headingText = new ImageLabel("heading", |
| 189 | 189 | tr("The (compass) heading of the line segment being drawn."), |
| 190 | 190 | ONE_DECIMAL_PLACE.format(360).length() + 1, PROP_BACKGROUND_COLOR.get()); |
| … |
… |
public class MapStatus extends JPanel implements Helpful, Destroyable, Preferenc
|
| 869 | 869 | LatLon p = mv.getLatLon(e.getX(), e.getY()); |
| 870 | 870 | latText.setText(p.latToString(mCord)); |
| 871 | 871 | lonText.setText(p.lonToString(mCord)); |
| | 872 | if (CoordinateFormat.EAST_NORTH.equals(mCord)) { |
| | 873 | latText.setToolTipText(tr("The northing at the mouse pointer.")); |
| | 874 | lonText.setToolTipText(tr("The easting at the mouse pointer.")); |
| | 875 | } else { |
| | 876 | latText.setToolTipText(tr("The geographic latitude at the mouse pointer.")); |
| | 877 | lonText.setToolTipText(tr("The geographic longitude at the mouse pointer.")); |
| | 878 | } |
| 872 | 879 | } |
| 873 | 880 | } |
| 874 | 881 | }); |