• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to set the font of message dialog?  RSS feed

 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JOptionPane.showMessageDialog(...)

How to set the dialog font? The default font seems a little urgly in Chinese language.
Thank you in advance.
 
Qunfeng Wang
Ranch Hand
Posts: 434
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to add html tag, still the font is bold.
Does UIManager can do this job? I just hear it from my friend
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!