R
RVince
The more I read the Java docs and google on this issue -- the more
confused
I am becoming. If I am setting a cell in a JTable to a certain
currency,
formatted to a particular Locale, it works out fine for me if My
Locale is
US say. Things print with the leading $ sign, etc.
however, when I change Locales, I am not getting the proper currency
symbol
printed (say, the Yen Symbol,. or the Euro Symbol) instead I am
getting
rather a grey box in lieu of the symbol.
I have tryed altering the font of the JTable to no avail. Clearly I
am
missing someting that is a particular quirk here. Does anyone have
experience with this issue and can anyone point me in the right
direction
here. Thanks.
DefaultTableModel dtm;
double fdollars;
Local locale = Locale.JAPAN.
.....
dtm.setValueAt(NumberFormat.getCurrencyInstance(locale).format(fdollars),
q,
2);
confused
I am becoming. If I am setting a cell in a JTable to a certain
currency,
formatted to a particular Locale, it works out fine for me if My
Locale is
US say. Things print with the leading $ sign, etc.
however, when I change Locales, I am not getting the proper currency
symbol
printed (say, the Yen Symbol,. or the Euro Symbol) instead I am
getting
rather a grey box in lieu of the symbol.
I have tryed altering the font of the JTable to no avail. Clearly I
am
missing someting that is a particular quirk here. Does anyone have
experience with this issue and can anyone point me in the right
direction
here. Thanks.
DefaultTableModel dtm;
double fdollars;
Local locale = Locale.JAPAN.
.....
dtm.setValueAt(NumberFormat.getCurrencyInstance(locale).format(fdollars),
q,
2);