Forum Stats

  • 3,757,186 Users
  • 2,251,208 Discussions
  • 7,869,755 Comments

Discussions

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

User_899LL
User_899LL Member Posts: 3 Green Ribbon
edited Jun 11, 2021 11:52AM in Java 8 Questions

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

Tagged: