Revision 37943 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/toolListeners/StatusBarListener.java
StatusBarListener.java | ||
---|---|---|
197 | 197 |
*/ |
198 | 198 |
public void setFractionDigits(Point2D p) { |
199 | 199 |
IProjection iProj = mapControl.getMapContext().getProjection(); |
200 |
if (!iProj.isProjected()) {
|
|
200 |
if ((iProj != null) && (!iProj.isProjected())) {
|
|
201 | 201 |
nf.setMaximumFractionDigits(8); |
202 | 202 |
} else { |
203 | 203 |
nf.setMaximumFractionDigits(2); |
Also available in: Unified diff