If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android, IOS

I think I'm having a brain fart here,

I have a form that populates a container that instantiates a container 
class, call it "a3VehicleRoInfoRecord", I hold a private instance of it in 
my form.
"private A3VehicleInfo a3VehicleRoInfoRecord = null;"
A3VehicleInfo a3VehicleRoInfoRecord = new A3VehicleInfo(…..);

Within the form a user can open a Dialog that can create a new local 
a3VehicleRoInfoRecord 
class and view its data (Data in this instance can change)

It appears that the first instance is overwritten by the second instance. 
However I have looked at this for some time and am not clear why. 
(reference changes)

The 2 instances are completely separate.
A3VehicleInfo a3VehicleRoInfoRecordSecondInstance = new A3VehicleInfo(…..); 

This is allowed in Swing w/o issue.

Is there something I am missing here?

Thoughts?

Best Regards.


-- 
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/a73772d4-0c6a-4bd8-a2b5-25da435eff02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to