Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Problem with adding custom control in Scene Builder (Java FX)

User_899LLJun 9 2021 — edited Jun 11 2021

Hello,
I'm using Java FX 8 and Scene Builder 8.5.0 and I have a problem with adding custom LineChart control without fxml. When I'm importing this control in the SceneBuilder there is empty "Import dialog" window but in the "Library Manager" window this control is displayed as installed "Libraries/FXML Files". Scene Builder displays "Unresolved class CustomControlClass". I have tried with different custom controls.
Additionally after pressing this custom control in the "Hierarchy" tab then on the right side tabs (Properties, Layout and Code) there is error: "Selection contains unresolved reference".
I have uploaded a little project with custom control: github.com/MichaTar/java-test/blob/main/…
In this project I can't add control in the Scene Builder and there is still "Unresolved class" error.
Does anybody know how to resolve this problem?
Best regards
Michael

Comments
Post Details
Added on Jun 9 2021
0 comments
429 views