如何在 fxml 项目中使用很棒的字体 (javafx) [英] How to use font awesome in a fxml project (javafx)
本文介绍了如何在 fxml 项目中使用很棒的字体 (javafx)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在我的项目中使用 font awesome 但我不知道如何在我的项目中使用 font awesome.
I want to use font font awesome in my project but I have no idea how to use font awesome in my project.
我找到了一些例子,但它们不能在 fxml 中使用.
I had found some example but they can't be use in fxml.
我需要帮助如何使用 fxml 在我的项目中使用它
I need help how to use it in my project using fxml
谢谢.
推荐答案
我认为这就是你所需要的 ControlFX 包括字体真棒支持.请参阅 javadoc 以获取更多信息(但我有一天对其进行了测试,效果很好)
I think this is what you need ControlFX that include font awesome support. see the javadoc for more info (But I tested it one day and it works fine)
这篇关于如何在 fxml 项目中使用很棒的字体 (javafx)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文