1
votes

I am developing a application in codename one that required a user to login. I created a login form and a main form. I want to add a functionality that if the user is already logged in. main form will show. The function check if the app has a preference token of username with some value. it open main form if the token does not have a value the login form will appear.

i need help to know how to open forms designed in GUI Builder to be called in code.

If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA:IDEA Desktop OS:Ubuntu Simulator:Default Device:ANDROID

1

1 Answers

0
votes

I suggest looking at this.

From code you can just do showForm("MyFormName", null);