> Can anyone advise me on how to explicitly set the JOptionPane's button
> labels to display my own I18N message(zh_ch)? for example, instead of
> "OK", I want to display "OK" in chinese.
Have you looked at the showOptionDialog() method?

Signature
Regards,
John McGrath
howeekit@gmail.com - 19 Dec 2004 14:13 GMT
Have found a solution after looking thru the java source code
Font font = new Font("mingLiu", 12, Font.PLAIN);
UIManager.put("OptionPane.font", font);
UIManager.put("OptionPane.messageFont", font);
UIManager.put("OptionPane.buttonFont", font);
UIManager.put("OptionPane.okButtonText", "\u7247\u4EEE\u540D" );
Thanks