BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-11-2005, 02:39 AM   #1 (permalink)
New Member
 
Join Date: Mar 2005
Location: Shanghai,China
Model: 7520
Carrier: China Mobile
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Exception:UI Engine accessed without holding the event lock

Please Login to Remove!

Hello,
I have added a customer menu item(such as "Print...") to Browser.And I am expecting it will pop up a form to input some text after clicking this "print..." menu item,but I always get the exception:
"UI engine accessed without holding the event lock".

What is wrong.How to hoding the event lock?How to pop up a form after click the customer menu item?

Many thanks!
Offline  
Old 05-23-2007, 11:39 AM   #2 (permalink)
New Member
 
akirekadu's Avatar
 
Join Date: Aug 2006
Location: Columbia, Maryland
Model: 8900
Carrier: T-Mobile
Posts: 9
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Use invokeLater(...)


...
...
...
invokeLater(new Runnable()
{
public void run()
{
// Code to pop up your form
}
});
...
...
__________________
Ashwath Akirekadu

Last edited by akirekadu : 05-23-2007 at 11:40 AM.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.