[jlodge 01/07/97]
Possible problem occurring for DecimalFormat class when dealing with some
locales. The below error occurred when testing the sample program Monetary.java
available at /net/gpe/export/home1/WWW/www-i18n-web/i18n-samples/nabe
Exception occurred during event handling:
java.lang.StringIndexOutOfBoundsException: String index out of range: 9
at java.text.DecimalFormat.setPattern(DecimalFormat.java)
at java.text.DecimalFormat.<init>(DecimalFormat.java)
at java.text.NumberFormat.getDefault(NumberFormat.java)
at java.text.NumberFormat.getDefaultCurrency(NumberFormat.java)
at LocaleFormatter.getString(LocaleFormatter.java:21)
at MyCanvas.paint(Monetary.java:19)
at java.awt.Component.update(Component.java)
at java.awt.Component.dispatchEvent(Component.java)
at java.awt.EventDispatchThread.run(EventDispatchThread.java)
Possible problem occurring for DecimalFormat class when dealing with some
locales. The below error occurred when testing the sample program Monetary.java
available at /net/gpe/export/home1/WWW/www-i18n-web/i18n-samples/nabe
Exception occurred during event handling:
java.lang.StringIndexOutOfBoundsException: String index out of range: 9
at java.text.DecimalFormat.setPattern(DecimalFormat.java)
at java.text.DecimalFormat.<init>(DecimalFormat.java)
at java.text.NumberFormat.getDefault(NumberFormat.java)
at java.text.NumberFormat.getDefaultCurrency(NumberFormat.java)
at LocaleFormatter.getString(LocaleFormatter.java:21)
at MyCanvas.paint(Monetary.java:19)
at java.awt.Component.update(Component.java)
at java.awt.Component.dispatchEvent(Component.java)
at java.awt.EventDispatchThread.run(EventDispatchThread.java)