LWUIT PeerComponent problem in Blackberry
I would like to add Blackberry Fields to LWUIT Form
I tried to run this in blackberry
ButtonField nativeRIMButton = new ButtonField("Hello");
PeerComponent peer = PeerComponent.create(nativeRIMButton);
I am getting IllegalArgumentException:UiEngine accessed without holding the event lock
Not only for this.I am getting same exception whenever I try to use peercomponent to integrate Blackberry Native components.
Please help me on this.
Thanks in adavance