In general, a JavaFX application contains one or more stages which corresponds to windows. Each stage has a scene attached to it. Each scene can have an object graph of controls, layouts etc. attached ...
Make sure you know the difference between creating a new Java class and creating a new JavaFX class -- these are not the same thing in IntelliJ! Make sure your Main config is edited properly as per ...