Thread View: comp.lang.java.gui
2 messages
2 total messages
Started by Raf Lenaerts
Thu, 02 Sep 1999 00:00
The euro-sign in Java
Author: Raf Lenaerts
Date: Thu, 02 Sep 1999 00:00
Date: Thu, 02 Sep 1999 00:00
4 lines
842 bytes
842 bytes
I'm using JBuilder 3 and in the designer I have no problem seeing the euro-sign (?), but if I run the program, a square (�) is displayed. I have tried to change the font, but that didn't work and am all out of ideas. Can anybody help me?
Re: The euro-sign in Java
Author: Anthony Goubard
Date: Fri, 03 Sep 1999 00:00
Date: Fri, 03 Sep 1999 00:00
13 lines
1269 bytes
1269 bytes
I think you want to write it in a String so use the unicode : it's the 20A0 EURO-CURRENCY SIGN ex String price = "55.5 \u20A0"; http://www.unicode.org/ Anthony Raf Lenaerts wrote in message <7qm5jg$592$1@news3.Belgium.EU.net>... >I'm using JBuilder 3 and in the designer I have no problem seeing the >euro-sign (?), but if I run the program, a square (�) is displayed. I have >tried to change the font, but that didn't work and am all out of ideas. Can >anybody help me? > >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads