Just starting with CodeName One and the hello world project with the GUI builder. I added an action listener (through the GUI Builder) and a line inside it to show up a dialog box:
protected void onMain_ButtonAction(Component c, ActionEvent event) {
Dialog.show("Hello", "Hi there!", "OK", null);
}
Then I click on "Simulate Device", the phone does show up and I can click the button but no Dialog pops up? Any hint?