Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Monospaced Font

 
colin shuker
Ranch Hand
Posts: 750
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I'd like to use a monospaced font within a JMenuItem's text.
I guess its possible to use html to do this inside the String, but this plays up when you use spaces.

Is there another way, eg using Fonts?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic