What Does The public void start(Stage primaryStage) Method Do? - rsanchez-wsu/jfiles GitHub Wiki

start

  • This method is used to build the functions that the button icon made in the JFilesGui() method.

  • It starts by creating the text box for the button to show up when the file runs. Then in-addition to this function creates an action built into the button. This will have an action activate when the button is encountered with some type of interaction with the user. Specifically for this method if the user clicks on the button then you will get an output result from this specific action based on how the code is build.

Building Layout

  • This next section of the method is used to build the layout plan of the program. By adding in the button to the pane.

  • Next we are building the length and height of the pane.

  • Finally the end of the method is used for building the the Scene, creating a title, and finally showing everything out to the console.