🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10261

Re: Display Chinese Characters in JTextField or JTextArea etc

#10261
From: Lois Neo
Date: Thu, 21 Oct 1999 00:00
40 lines
1974 bytes
I've not really tried that out, but I've seen examples on this which write
the characters as Unicodes.
If you write in Unicode, you just need to provide a chinese font for the
component which displays the characters.
I guess if you write in chinese characters, you will also need a chinese
input software to be running along with your program in order for you to see
the chinese characters. and not all chinese input software would work for
this.

Hope it helps.
Lois

Kevin Wang <kwang@mks.com> wrote in message news:380DC841.FE608D5@mks.com...
> Hi Neo:
>
> I'm new to displaying other language characters so I have a simple
question if
> you can help it would be great!
>
> I'm trying to load a generic text file (a properties file with keys and
values)
> with
> characters in any language.  Once I loaded them into a properties object I
> display
> them as menu items under a menu.  Anyway, since that text file is generic
in any
>
> language, I'm just wondering if the characters in the file should be in
unicode,
> OR
> can it just be written in the character of that language(e.g. if the
language is
>
> Chinese do I have to write them in unicode OR can I just write in Chinese
> characters)?
>
> Thanks very much
>
> K W
>
Technical Details
Message-ID: <7ukq0v$de13@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7uhr5l$ha99@forums.borland.com> <7uj2bf$s244@forums.borland.com> <7uj89q$s229@forums.borland.com> <380DC841.FE608D5@mks.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,68e7b9b264b14ab6
X-Google-Attributes: gid111d45,public
From: "Lois Neo" <slneo@cybergal.com>
Subject: Re: Display Chinese Characters in JTextField or JTextArea etc
Date: 1999/10/21
Message-ID: <7ukq0v$de13@forums.borland.com>
X-Deja-AN: 538473019
References: <7uhr5l$ha99@forums.borland.com> <7uj2bf$s244@forums.borland.com> <7uj89q$s229@forums.borland.com> <380DC841.FE608D5@mks.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Reply-To: "Lois Neo" <slneo@cybergal.com>
Newsgroups: borland.public.jbuilder.java.swing