pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 4cop2c <4co...@gmail.com>
Subject Re: Alert and Prompt "OK" button Encoding
Date Thu, 13 Mar 2014 02:21:10 GMT
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.

Mime
View raw message