Thanks for your reply. I developed some Java swing applications before, but no requirement for Chinese input. So I do not have experience in supporting Chinese in Java swing application.
I can input Chinese into Eclipse editor on Windows XP sp2 (Chinese version). I am not sure whether Eclipse is a java swing application. No problem typing in Chinese into Windows Office and IE. But for Spark, it seems that the Chinese input method is not enabled. When focusing Spark chat input window, the Chinese input method dialog disappear.
I looked at the c:\windows\fonts directory. More than 10 chinese fonts are installed. The JRE under the Spark does not have Chinese fonts, but the system installed chinese fonts under c:\windows\fonts will be used. The JRE under the spark has “fontconfig.properties.src” file that configures Chinese fonts.
Component Font Mappings
allfonts.lucida=Lucida Sans Regular
allfonts.thai=Lucida Sans Regular
System: Windows XP sp2 (chinese version)
Thanks a lot for your help. It is very urgent for me to solve this problem. My boss becomes impatient.