most likely you're trying to update the display from a background process and this is causing the exception, you can wrap the action like so:
public void updateScreen(String xmlstr){
UiApplication.getUiApplication().invokeLater(new Runnable() {
public void run() {
add(new RichTextField(xmlstr));
}
});
}
__________________
new job doesn't allow a public profile - please do not contact this user with questions, you will not get a response. good luck!
Last edited by jfisher : 05-15-2008 at 07:17 AM.
|