Revision 3199 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.swing/org.gvsig.raster.swing.impl/src/main/java/org/gvsig/raster/swing/impl/tool/infobypoint/InfoByPointPanel.java

View differences:

InfoByPointPanel.java
246 246
	}
247 247

  
248 248
	public void updateDataModel() {
249
	    // Cuando el separador decimal coincide con la coma,
250
	    // la cambiamos por una barra vertical
251
	    // para mejorar la imterpretaci?n por parte del usuario
252
	    DecimalFormat format=(DecimalFormat) DecimalFormat.getInstance();
253
	    DecimalFormatSymbols symbols=format.getDecimalFormatSymbols();
254
	    char decimalSep=symbols.getDecimalSeparator();
255
        String sep = ", ";
256
	    if(String.valueOf(decimalSep).equals(",")){
257
	        sep = " \u007C "; //Barra vertical
258
	    };
249
        String sep = " ";
259 250

  
260 251
		Double nanObj = new Double(Double.NaN);
261 252
		DecimalFormat df2 = new DecimalFormat("#.##");

Also available in: Unified diff