Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!