Example #1
0
  public CoordinateEditor(String negHemiChars, String posHemiChars) {
    this.negHemiChars = negHemiChars;
    this.posHemiChars = posHemiChars;
    this.decimalSeperators = ".,";
    this.noHemisphereMessage = I18N.CONSTANTS.noHemisphere();
    this.tooManyNumbersErrorMessage = I18N.CONSTANTS.tooManyNumbers();
    this.invalidMinutesMessage = I18N.CONSTANTS.invalidMinutes();
    this.invalidSecondsMessage = I18N.CONSTANTS.invalidSeconds();
    this.noNumberErrorMessage = I18N.CONSTANTS.noNumber();

    dddFormat = NumberFormat.getFormat("+0.000000;-0.000000");
    shortFracFormat = NumberFormat.getFormat("0.00");
    intFormat = NumberFormat.getFormat("0");
  }