Gui Builder adds events at end of line in source .java code

13 views
Skip to first unread message

Mark Bolduc

unread,
Jan 10, 2020, 4:23:52 PM1/10/20
to CodenameOne Discussions
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

Gui Builder adds events at end of line in source .java code

I have a class (class UpdateTitleClockA3HomePage extends Thread) defined at bottom of code

The Gui Builder appends the file with the event methods after clicking on event in gui builder.

This causes a build failure.

The fix is simple, move the new methods within the public class associated with the Gui Build.

Regards.

Steve Hannah

unread,
Jan 10, 2020, 5:23:59 PM1/10/20
to codenameone...@googlegroups.com
This is related to JDK removing JAXB in JDK9.  We have some workarounds in place to deal with this, but it appears they aren't working here.  For now, workaround this by using JDK8.

--
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 codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/20cd79e1-2eaa-49ea-bf37-af56bf947dde%40googlegroups.com.


--
Steve Hannah
Software Developer
Codename One

Steve Hannah

unread,
Jan 10, 2020, 5:25:29 PM1/10/20
to codenameone...@googlegroups.com
Sorry, this reply was meant for your other question about JAXB.  
Reply all
Reply to author
Forward
0 new messages