2
我已阅读an answer about using the code highlighting component RichTextFX。SceneBuilder不显示第三方控件
我已经将JAR文件设置为在我的Java Build Path(.classpath)中,但我在Scene Builder中找不到RichTextFX组件。我在库过滤器中搜索CodeArea
。
接下来,我自己在FXML文件中添加了<CodeArea />
标签。它自动导入了org.fxmisc.richtext.CodeArea
,这告诉我我的类路径设置是可以的。但它仍然不会在Scene Builder中显示。
我试过File/Import
,File/Include
和File/Preferences
来得到JAR文件,但没有运气。
如何将第三方控件导入Scene Builder?