Dear All,

Thanks for all the suggestions and ideas. 
My simple solution is to use 

Theme.getTheme().setFont(new Font("PMingLiU", Font.PLAIN, 12));

in the initialize function before calling the TablePane from the name space.
So it looks like the following:

public void initialize(Map<String, Object> namespace, URL location,
Resources resources) {
    Theme.getTheme().setFont(new Font("PMingLiU", Font.PLAIN, 12));
    tablePane = (TablePane)namespace.get("tablePane");
     public boolean mouseClick(Component component, Mouse.Button button, int
x, int y, int count) {


The words are now showing OK in Chinese. Thanks!

Regards,
Jerry



--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/Alert-and-Prompt-OK-button-Encoding-tp4022895p4022900.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to