java - how does javafx main method launch(args) work? -


Methods outside the main method are not mentioned in the main method. The main method only consists of launches (args);

I thought that methods outside of this method need to call those who work in the program?

"text">

Netbins is Jawadok near Java FX in which it is explained:

  / ** * been correctly ignored the main (posted Jawaafaks application) method has gone. * The main () works only as a fallback if the application can not be done through deployment artifacts, for example, ignored Netbeins main () in the IDE with limited FX * * * @ ultimate command line Logic * / public static zero main (string [] args) {launch (args); }  

So essentially, It should be called because it is not Java FX, however, if it is said that only the command line arguments) Javafx On the .application.Application.lunch which will open JavaFX as expected.

If you are still wondering how the launch works, then you should probably check it out.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -