Forums Register Login

SWT question

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.

Scott Delap
ClientJava.com
Desktop Java Live
It means our mission is in jeapordy! Quick, read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1088 times.
Similar Threads
Swing and SWT
Is SWT worth learning *instead of* Swing?
NX: Notes on a design that passed 389/400
SWT and swing
Call click event of a buttong
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:22:57.