-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controls not recognized in Scene Builder 2.0 #177
Comments
Hi, I don't use SceneBuilder myself and I don't know what it takes to make SceneBuilder work with RichTextFX. You are more likely to get an answer if you ask the SceneBuilder folks. Best, |
Closing as this is not a RichTextFX problem. |
I think it is actually a RichTextFX problem. There is nothing the SceneBuilder developers can do to make the RichTextFX components work. The changes have to be made in the RichTextFX code base. Therefore, I would like to reopen the issue in hopes that someone can take a look. |
Download and import the RichtextFX fat jar into SceneBuilder and it'll work. |
True to some extent, but not all classes get imported, like the StyleClassedTextField. So any FXML file containing this class gives an error message along these lines: Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.fxmisc.richtext.StyleClassedTextField The same goes for the InlineCssTextField. |
Okay, I've fixed the issue and updated the current releases (0.10.9) fat jar file. @Neiko2002 First remove the RichTextFX jar file from SceneBuilder before importing the refreshed one. |
The new far jar works fine in SceneBuilder. Thank you very much. |
Hello,
I want to use the RichTextFX in Scene Build, but they are not recognized. why?
And when I used a StyleClassedTextArea in Intellij I got the following error:
java.io.IOException: javafx.fxml.LoadException:
/E:/B5807012_TP01528/all/java/zisupdate/src/java/resources/zisupdate.fxml
Caused by: javafx.fxml.LoadException:
/E:/B5807012_TP01528/all/java/zisupdate/src/java/resources/zisupdate.fxml
Caused by: java.lang.ClassNotFoundException: org.fxmisc.richtext.StyleClassedTextArea
at java.lang.ClassLoader.findClass(ClassLoader.java:530)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at javafx.fxml.FXMLLoader.loadTypeForPackage(FXMLLoader.java:2920)
at javafx.fxml.FXMLLoader.loadType(FXMLLoader.java:2909)
at javafx.fxml.FXMLLoader.importClass(FXMLLoader.java:2850)
... 23 more
The text was updated successfully, but these errors were encountered: