mariomac / microemu

Automatically exported from code.google.com/p/microemu
0 stars 0 forks source link

ItemStateListener fires before item changes #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When listening for item changes via a ItemStateListener, the event is
received when a ChoiceGroup is opened, instead of after a value is set. I
believe it has to do with the following lines in Form.java

// why do we call this here?
// Andres Navarro
fireItemStateListener();

By pressing enter to have the ChoiceGroup opened, the event is fired.

Original issue reported on code.google.com by bar...@gmail.com on 18 Nov 2009 at 11:04