Following the tutorial here.. https://www.codenameone.com/how-do-i---create-a-basic-hello-world-application--send-it-to-my-device-using-eclipse.html
I get a build fail because of the line:
b.addActionListener(e -> Dialog.show("Dialog Title", "Hi", "OK", null));
And why?
Compile shows:
java.lang.Error: Unresolved compilation problems: The operator > is undefined for the argument type(s) int, boolean Syntax error on token "-", -- expected