JavaFXを使ったコードをせっせと書いていると以下の警告に遭遇しました。
CoreText note: Client requested name ".SFNS-Regular", it will get
Times-Roman rather than the intended font. All system UI font access should
be through proper APIs such as CTFontCreateUIFontForLanguage() or
+[NSFont systemFontOfSize:].
調べてみるとどうやらmacOS Catalina 10.15のシステムフォント設定に問題があるようです。
コード内でフォントの種類を指定し解決しました。
<修正前>
lblMsg.setFont(new Font(14));
<修正後>
lblMsg.setFont(new Font("Arial",14));

