I more or less meant porting over the StateMachine code in the parse4cn1 test app to the regular Main class (/src/com/mycompany/myapp) created by the new GUI builder. I guess it was fairly straightforward, I just implemented IPushCallback in my main instead of in the StateMachine.
On a side note, is it possible to use the StateMachine class in a new project with only new GUI builder forms? It seems like the StateMachine is for the older version and it would get too complicated mixing the two, if it's even possible.
I'm wondering because the StateMachineBase (SMB) has methods like beforeMain, postMain, etc. Can I do all my activity lifecycle calls in the regular Main class created with the new GUI builder such as start(), stop(), destroy() or does the SMB somehow add more functionality? So far, I haven't touched the StateMachine, because I thought it was for the old version, and I don't think I've needed a reason to, until now with using the parse4cn1 lib. So I've just been trying to figure out the correct way to port/refactor it into my existing app, which uses all new GUI builder forms.