FontShowerAWT

FontShowerAWT
  
            License: Freeware $0.00
            OS: Java,Linux,Mac OS X,Unix,Win2000,Win7 x32,Win7 x64,WinServer,WinVista,WinVista x
            Requirements: Java 1.2+
            Publisher: Canadian Mind Products
            Homepage: http://mindprod.com
          

Displays all the fonts available to AWT in Java on your
machine. Displays the fonts in a variety of styles, sizes
and colours, rendered either with a Canvas or with a TextArea.

FontShowerAwt displays the fonts available on *your* machine
to *Java*. Other people will have different fonts installed
and will see different selections available to Java on
their machines. Your browser will see a slightly different
set of fonts than Java does. Java has a few extra private
fonts, and some browser fonts don’t work with Java.

The source contains two classes that may be of general use:
ColorChooser, an AWT color chooser that works in both hex
and decimal letting you select foreground or background
colours. You can cannibalise this Component for your own
programs.

The other is a FontArea, which is like a stripped-down
TextArea, except it lets you use any Font on it, not just
the basic logical fonts the way a real TextArea does.

Complete Java source included.


Share this post