So the IntelliJ is saying that javafx.scene.control.Button
is deprecated and I can't figure out why: there are no annotations or javadocs with any kind of deprecation in the class.
And also, if javafx.scene.control.Button
is deprecated - what am I supposed to use to create a simple button instead?