Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I change the font of JOptionPane?  RSS feed

 
Jevon Wang
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have an application.
I have to show a lot of dialogs which display information in Chinese.
But I found I can not change the default font of JOptionPane.
I have tried to use an instance of JOptionPane to create a dialog and set the optionpane's font and the dialog's font as well,But it doesn't work.
Please show me some advice about it.
Thanks,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!