In our Java Swing application, we\'re loading a custom font and adding it to a JLabel:
JLabel
try { this.font = Font.createFont(Font.TRUETYPE_FONT, new F
To use some font:
...
The Font you created has to be registered first in the singleton GraphicsEnvironment to be accessible to all:
GraphicsEnvironment genv = GraphicsEnvironment.getLocalGraphicsEnvironment(); genv.registerFont(font);