Java Form: Selected font is not rendered.
已回答
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:

请先登录再写评论。
Try adding the TTF font files to the JVM that is used to run your app (into
jre\lib\fonts).