wood burning stoves*
The moose likes Android and the fly likes calling setEnabled throws exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "calling setEnabled throws exception" Watch "calling setEnabled throws exception" New topic
Author

calling setEnabled throws exception

Muhammad Imad Qureshi
Ranch Hand

Joined: Sep 13, 2005
Posts: 238
Although setClickable (false) is working just fine on a button, setEnabled or setBackgroundColor is throwing an exception. What am I doing wrong here?

Thanks
Imad
Piyush Patel
Ranch Hand

Joined: Feb 24, 2009
Posts: 127

can you show us error log..
Muhammad Imad Qureshi
Ranch Hand

Joined: Sep 13, 2005
Posts: 238
Thanks for your reply. I actually found the issue. I was trying to access my UI from licensing thread. I needed to use a handler to do that.

Thanks
Imad
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling setEnabled throws exception
 
Similar Threads
Checkbox using Swing
radio buttons being non focusable
Problem updating a window
setEnabled
Buttons...