1

I just set up javafx and scenebuilder on intellij IDE and tried to follow this tutorial. Everything works except for ButtonBar class, for some reason I cannot import it to my fxml file.

When I do this:

<?import javafx.scene.control.ButtonBar?>

it gives me an error cannot resolve class ButtonBar.

Any Idea what might be wrong?

ItachiUchiha
  • 36,135
  • 10
  • 122
  • 176
M1cra
  • 13
  • 5
  • Which `java` version have you installed? `ButtonBar` have been included since `Java8u40`. – ItachiUchiha Mar 22 '15 at 11:04
  • Thanks! I actually had installed jdk8u40, but I forgot to specify path to it in IntelliJ, that was the problem. Fixed it, works without problems now. – M1cra Mar 22 '15 at 11:22

0 Answers0