It shows you the exact lines called in the wrong thread, so it's easy to fix it fast.
It turns out the old rules were wrong. After years of confusion about which parts of Swing are thread safe, here's the definitive word from Sun:
"To increase efficiency and decrease complexity, all Swing components are designed not to be thread-safe."
Like almost all of us, you probably didn't write your code with that in mind. That means bugs. Detangler finds them.
People sometimes still try to identify a few thread safe calls. But again and again the supposedly safe calls have turned out not to be. The safe and simple assumption is that none are thread safe.
All you need is debugging on when you compile.
Detangler finds those tough bugs for you. So your app runs fast and smooth.
JavaFX is based on Swing. The others all use Swing internally.
SWT uses the same single thread model, but Detangler won't help you there.
1. Make sure debugging is on in your application.
2. Run the installer.
3. Click "Detangle <Your Application>".
If you have any trouble using Detangler, check the trouble shooting guide or contact our tech support.
Copyright © 1997-2008 DeNova. All rights reserved worldwide.
Privacy policy
Legal notices