1 | Java guarantees the following five fonts on every platform: Dialog, SansSerif, Serif, Monospaced, and DialogInput |
2 | Other fonts may be available on a client-by-client basis |
3 | To get the name of the current font: Font f = g.getFont(); String name = f.getName(); |