listFonts.frink

View or download listFonts.frink in plain text format



// A simple program to list the available fonts.

tk = callJava["java.awt.Toolkit", "getDefaultToolkit", []]

fontList = tk.getFontList[]

for name = fontList
   println[name]


View or download listFonts.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 17645 days, 8 hours, 41 minutes ago.