Hello, I've built a SWT browser. I'm calling it from a Swing application using new Browser("url"). The problem I have is this, it works the first time I call it but after that , I get an Invalid Thread Access exception. Any thoughts on how to fix this? I want to be able to call as many Browsers as I choose by pressing a button on my swing app. Thanks.
posted 10 years ago
Assuming your thread issues are coming from the SWT side I would guess you are trying to access a SWT component from a thread that isn't the UI thread.