lwuit - How to call an alerady made Form with CodeNameOne with the code ligen clicking on a button -
i want call form designed codenameone , call
protected void onconnexion_button1action(component c, actionevent event) { textfield tf1 = findtextfield(display.getinstance().getcurrent()); string email = tf1.gettext(); if(email.equals("client")){ form f; f.show(); }
but didnt find how call form want design can teh components not form please need answer soon
use:
showform("myformname");
this can useful: