Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Chinese in JTable cells

4 views
Skip to first unread message

Dick Fong

unread,
Dec 5, 2000, 3:00:00 AM12/5/00
to
I am writing a program to process a user input sql statement, exec the
statement in the database and retrieve the ResultSet using the JDBC API.
Finally I need to display them in the form of a JTable object. The
problem is that the data in the database are in Chinese and I cant get
them displayed properly in the JTable cell. even I've called the setFont
method of the JTable to set it to the Chinese font

Since Chinese chars are displayed properly in JTextField, I think the
settings of font.property should be correct and the fonts should be
installed properly. Would somebody please give me some advice. Thanks a
lot

Dick


0 new messages