aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes list of available fonts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "list of available fonts" Watch "list of available fonts" New topic
Author

list of available fonts

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4339
    
    2

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?


SCJP
Visit my download page
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
http://alvinalexander.com/blog/post/jfc-swing/swing-faq-list-fonts-current-platform should help; I found it by searching for "swing available fonts".


Ping & DNS - updated with new look and Ping home screen widget
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4339
    
    2

great! thanks! i'll check it out right now.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4339
    
    2

that worked
good link for others too.
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4522
    
    5

There's also my Visual Font Designer that you can just plug in and use like a JColorChooser.


luck, db
There are no new questions, but there may be new answers.
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4339
    
    2

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: list of available fonts
 
Similar Threads
can i use 2 panel in 1 frame?
GlassPane displays flickering
Programmatically determine actual font size, face, color, etc., being used?
GridLayout Vertical gap error
Center the entire website