• Post Reply Bookmark Topic Watch Topic
  • New Topic

How can i get a list of available fonts in the system..

 
Malith Yapa
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys..
I'm working on an editor application.. And in that i need the users to be able to create text with different fonts..
I've considered using :-

new java.awt.Font("font name",0,10);

to create the appropriate Font objects for that..

But how do i get a list of avaiable fonts in the system? Please help..
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Malith Yapa
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot..
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!