pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gkbr...@mac.com>
Subject Re: How To Write Chinese in Alert Window?
Date Thu, 21 Oct 2010 12:02:03 GMT
Hi Naniel,

I'm re-posting this to the Pivot user list - the dev list is for issues related to platform
development, not app development. Also, you'll want to subscribe to the user list in order
to see any responses to your questions.

You can open an alert with Chinese text the same as you would with any other kind of text:

Alert.alert("宋体", owner);

See the Javadoc for the Alert class for more information:



On Oct 21, 2010, at 5:18 AM, 南磊 wrote:

> Hi Pivot Developer,
> Now I want to write Chinese in the Pivot Alert window, but I don't know how
> to write the code. In the button,I write the code like this "
> pushButton.getStyles().put("font", new Font("宋体", Font.BOLD, 24)); ". Of
> course it is worked. So could you give me some help or examples. Thank you.
> Yours.
> Nanlei From China.

View raw message