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?