Skip to main content

JGoodies is blocking my action events from firing



I added an actionListener to my JTextField. The JTextField is creating by JGoodies and is buffered. If I change the value in my JTextField and hit enter on it, it fires my event. If I change the value, lose focus, come back and then hit enter, no event fires. Has this happened to anybody else? Any suggestions would be welcome, I am really stuck...







ValueModel valueModel = getValueModel(adapter, propertyName, useBuffer);

JTextField textField = BasicComponentFactory.createLongField(valueModel);







I add an actionListener to it. It works if I change the value and then hit enter. If I change the value, lose focus, and then regain focus and hit enter, the action does not fire, which is unexpected.


Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?