This is the flow order of functions that is loaded when an application created using codenameone framework starts
1. ImmuntiyMeterApp.init(Object context)
2. ImmuntiyMeterApp.start()
3. StateMachine.initVars(Resources res)
4. StateMachine.beforeMain(Form f)
5. StateMachine.postMain(Form f)
6. StateMachine.StateMachine(String resFile)
1. ImmuntiyMeterApp.init(Object context)
2. ImmuntiyMeterApp.start()
3. StateMachine.initVars(Resources res)
4. StateMachine.beforeMain(Form f)
5. StateMachine.postMain(Form f)
6. StateMachine.StateMachine(String resFile)
![Halley's Comet on May 29 1910 by Professor Edward Emerson Barnard at Yerkes Observatory, in Williams Bay, Wisconsin. [Public domain], via Wikimedia Commons Halley's Comet May 29 1910](https://upload.wikimedia.org/wikipedia/commons/b/b9/Halley's_Comet_-_May_29_1910.jpg)