The JavaFX 8 Gridpane method setConstraints(...) is not recognised by Intellij

Answered

While creating a JavaFX 8 application, when I try to set component constraints on a node in a GridPane using the setConstraints() method, Intellij registers an error indicating that it does not recognise the setConstraints() method as being associated with the GridPane object.

The problem is happening with Intellij IDEA 2016 and Intellij IDEA 2017.2.6.

0
1 comment
Avatar
Permanently deleted user

Please disregard this post.

 

Intellij is working properly.

 

The setConstraints() is a static method and hence is not associated with a GridPane object instance.

0

Please sign in to leave a comment.