Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

list of available fonts

 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for my new project i am using this tutorial
it lets you choose serif or sans serif but that is all. i want to use a JComboBox to choose from many like microsoft's wordpad does. how can i do this? is it platform dependent?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://alvinalexander.com/blog/post/jfc-swing/swing-faq-list-fonts-current-platform should help; I found it by searching for "swing available fonts".
 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
great! thanks! i'll check it out right now.
 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that worked
good link for others too.
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's also my Visual Font Designer that you can just plug in and use like a JColorChooser.
 
Randall Twede
Ranch Hand
Posts: 4363
2
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there is also my Paint! program which i recently used to makes some ImageIcons for some buttons
just giving you a hard time. i might check it out
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic