This is easily reproduced:
new project
theme:business
template: hello world (bare bones)
add the following code to start()
com.codename1.ui.Button gui_Button_1 = new
com.codename1.ui.Button();
hi.addComponent(gui_Button_1);
com.codename1.ui.Command cmd_btnLogin = new
com.codename1.ui.Command("Login") {
public void actionPerformed(com.codename1.ui.events.ActionEvent ev) {
onbtnLoginCommand(ev, this);
}
};
gui_Button_1.setCommand(cmd_btnLogin);
add the following function:
public void onbtnLoginCommand(com.codename1.ui.events.ActionEvent ev,
Command cmd) {
// show a wait dialog
InfiniteProgress prog = new InfiniteProgress();
Dialog dlg = prog.showInifiniteBlocking();
dlg.setTitle("Logging On");
// dlg.dispose();
}
Run in simulator = no image
On Thursday, June 30, 2016 at 9:59:52 PM UTC-7, Shai Almog wrote:
>
> You didn't disable the includeNativeBool flag in that theme right?
> Did you set the infiniteImage theme constant to something?
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/ecceb9ba-a9ff-4351-b687-9ede1982fa97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.