Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+3 votes

I'm going to guess that start() is a method from Application? So what is Application? Because at the beginning of every javafx project... it says "extends Application." Regarding JavaFX I guess there's just a lot of moving parts that have not been explained.

asked in CSC305 Fall 2019 by (2.7k points)

2 Answers

+1 vote

Fromt what I see Application is a superclass that every javafx inherits from as you can see import javafx.application.Application
the start() method is already define in Application. And Application is just one of many classes in the JavaFX library you import. If you want to inspect those classes you can open inside .jar files to look at it.
I guess the professor didn't mention because in the scope of the course you don't need to understand the "black box" of the library. But inspecting them is a good way to understand more deeply about javafx. Personally I think we should be encouraged more to do that!

answered by (2.2k points)
0 votes

I think the start() method is the main entry point for all JavaFX applications which defines the user interface container by means of a stage and a scene

answered by (2.1k points)
...