Re: Multiple languages in one JLabel
From: Michael Borgwardt (brazil_at_brazils-animeland.de)
Date: 11/24/04
- Next message: Steve W. Jackson: "Re: Ain't JDialog tricky?"
- Previous message: Elly: "Multiple languages in one JLabel"
- In reply to: Elly: "Multiple languages in one JLabel"
- Next in thread: Elly: "Re: Multiple languages in one JLabel"
- Reply: Elly: "Re: Multiple languages in one JLabel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Nov 2004 19:33:44 +0100
Elly wrote:
> I'm writing a utility that includes selecting and displaying files from the
> desktop.
>
> I'm running into problems since windows xp can have filenames made up of
> characters from multiple languages.
>
> How does one display such a string in a JLabel?
Just like any other string. Makes no difference to Java.
> I thought of using a large font like MS Arial Unicode, but it isn't
> distributable and the post I read mentioned that no large font exists to
> handle all of the unicode character set in a complete manner for native
> users of the various unicode characters.
I think you can assume that the default font will be able to display all
characters that a user in the default locale is likely to user. Windows
itself has the same problem, after all.
- Next message: Steve W. Jackson: "Re: Ain't JDialog tricky?"
- Previous message: Elly: "Multiple languages in one JLabel"
- In reply to: Elly: "Multiple languages in one JLabel"
- Next in thread: Elly: "Re: Multiple languages in one JLabel"
- Reply: Elly: "Re: Multiple languages in one JLabel"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|