Java Form: Selected font is not rendered.
Answered
I have a JForm with a label. I have selected the font Roboto and the preview gets updated normally. However, when I actually run the code, the label uses the default font. Any other font works. Do you have ever experienced similar problems?
Updates normally:

Default font:

Please sign in to leave a comment.
Try adding the TTF font files to the JVM that is used to run your app (into
jre\lib\fonts).