The singleton object CarSim represents the CarSim application, which allows its user to simulate simple car behavior (movement, fueling). The object serves as an entry point for the application, and can be run to start up the user interface.
NOTE TO STUDENTS: In this course, you don’t need to understand how this object works on the inside. It’s enough to know that you can use this file to start the program.
A GUI application's version of the main method. Called by the default main method implementation provided by this class. Implement to return the top-level frame of this application.
A GUI application's version of the main method. Called by the default main method implementation provided by this class. Implement to return the top-level frame of this application.