[To advertise Java(tm) Events here, contact us!]

by example!

New @

  gb  In-house search engine for better results!

  gb  Get updates with the

 Browse Categories 
 Ask a Java Question 
  For Java Tips & Tricks, subscribe to the newsletter!
Search Java Q&A, Links, API's:   adv 

Become a member to observe this category

A font defines the look (Helvetica, Arial, ...), size, and style (bold, italics, or plain) of the text string that is drawn with the font. A font is created from a glyph, a bitmapped image that defines the appearance of the character. To use a font in Java from drawing a string, create an object of the class Font and specify the look, size and style. Take a look at the example code to use fonts or to list the available fonts on your system.


      Questions & Answers
      = answered, = unanswered


        How do I list the available fonts on my system?
        How do I set up my application so that it uses only one font for all components?
        How do I use a Japanese font in my Swing components?
        How do I determine whether a font has a fixed width?
        How do I know if a font can display my characters?

      Further Information (sorted alphabetically)



      Related Links:

      Terms of Service | Privacy Policy | Contact

      Copyright © 2000-2003 - All Rights Reserved 
      Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. is independent of Sun Microsystems, Inc. All other trademarks are the sole property of their respective owners.