Skip to content
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

Import of custom control reusing other custom control not working in SceneBuilder 8.1.1 #60

Open
gluon-bot opened this issue Feb 20, 2016 · 2 comments
Labels
bug Something isn't working custom control Custom controls usage in Scene Builder major

Comments

@gluon-bot
Copy link

Originally reported by: Oliver Welter (Bitbucket: OliverWelter, GitHub: OliverWelter)


Hi,
I created a custom control named "CustomEmbeddedControl" extending from gridpane using a fxml file and a java class. In the same project I also created another custom control named "ExtendedCustomControl" which uses "CustomEmbeddedControl". If I build the jar and import it to SceneBuilder 8.1.1 only "CustomEmbeddedControl" can be imported. In the report I see that "ExtendedCustomControl" could not be imported because of ClassNotFoundException because "CustomEmbeddedControl" could not be found.

I also tried separating the controls into different jars but got the same result.
I put the code on github for further investigation https://github.com/oliverwelter/scenebuilder-embedded-controls/tree/master

Any ideas what might be wrong?

Best Regards,
Oliver


@gluon-bot
Copy link
Author

Original comment by Jose Pereda (Bitbucket: JPereda, GitHub: JPereda):


Can you check the 8.2.0 version? Problems related to opening FXML files with custom controls, providing the jar with them was already added to Scene Builder, should be fixed.

@gluon-bot
Copy link
Author

Original comment by Pahan13 (Bitbucket: Pahan13, GitHub: Pahan13):


Hello,
I meet exactly the same problem as described above. Using JavaFX Scene Builder 8.2.0, Build date: 2016-05-18.
When I tries to load my custom controls, thous ones which contains other custom controls are not loaded.
If I go to Library >> Custom Library Folder >> Show Jar Analisis Report it tells ClassNotFoundException.

Best Regards,
Pavel

@gluon-bot gluon-bot added major bug Something isn't working labels May 9, 2018
abhinayagarwal added a commit that referenced this issue May 9, 2018
#159 createdPropertyEditor must be updated instead of propertyEditor

Approved-by: Jose Pereda <[email protected]>
Approved-by: Joeri Sykora <[email protected]>
@AlmasB AlmasB added the custom control Custom controls usage in Scene Builder label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working custom control Custom controls usage in Scene Builder major
Projects
None yet
Development

No branches or pull requests

2 participants