If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Gui Builder Version 6.4
When clean and build on a gui form where changes to code were made, Codenameone rebuilds the .java class and
adds additional comments (//) here : //////////////////////////////////////////////////////////////////////////-- DON'T EDIT BELOW THIS LINE!!!
VS //-- DON'T EDIT BELOW THIS LINE!!!
and (the issue) delets the line below : //-- DON'T EDIT ABOVE THIS LINE!!!
resulting in : //-- DON'T EDIT ABOVE THIS LINE!!! protected void showOtherForm(Resources res) {
new A3HomePage(res, inc).showBack();
}
where the method definition is now part of a commented line.
The immediate fix is to add the new line.
protected void showOtherForm(Resources res) {
new A3HomePage(res, inc).showBack();
}
Thoughts?
Regards.