title: Difference between a Main class and a Controller class?
body: <p>When I create a new JavaFX application in the ItelliJ IDE, it presents me with a templated Main class and an empty Controller class. Is there a difference between these classes? Isn't it possible to control the flow of events in the Main class and therefore making the Controller class useless? If not, could you please provide an example of the relationship between the Main and Controller classes? </p>