Well, I'm not sure how to do a stack trace with netbeans or java but I'm not sure if a trace would show anything. The app doesn't crash and I've found that the line does actually work but not in the way I intended.
If I comment the other two setText commands then it does print "Working..." but only after the isReachable times out. And since the other two setText commands are also printed after it times out then it is overwritten so fast you can't see it.
The 1st line in the main method is:
|
Code:
|
java.awt.EventQueue.invokeLater(new Runnable() { |
which from what I've read doesn't appear to be the culprit(unless I'm misunderstanding it).
Any other ideas? Or can someone point me in the right direction for doing the stack trace?
Thanks for your help BTW.